blob: 80b5900980149cd026c6e94eba8e144e9001266a [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// The type of download location dialog that should by shown by Android.
// A Java counterpart will be generated for this enum.
// Recorded in histogram, so do not delete or reuse entries. The values must
// match DownloadLocationDialogType in enums.xml.
enum class DownloadLocationDialogType {
NO_DIALOG = 0, // No dialog.
DEFAULT = 1, // Dialog without any error states.
LOCATION_FULL = 2, // Error dialog, default location is full.
LOCATION_NOT_FOUND = 3, // Error dialog, default location is not found.
NAME_CONFLICT = 4, // Error dialog, there is already a file with that name.
NAME_TOO_LONG = 5, // Error dialog, the file name is too long.