Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: chrome/browser/download/download_confirmation_reason.h

Issue 2453633006: [downloads] Move platform specific code out of DownloadTargetDeterminer. (Closed)
Patch Set: . Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_CONFIRMATION_REASON_H_
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_CONFIRMATION_REASON_H_
7
8 enum class DownloadConfirmationReason {
9 NONE,
10 UNEXPECTED, // Unexpected error.
11 SAVE_AS, // "Save as" or "Save link as"
12 PREFERENCE, // The user has set a preference requiring prompts for all
13 // downloads.
14 NAME_TOO_LONG, // The target name was too long and couldn't be truncated.
15 TARGET_CONFLICT, // There were unresolved conflicts with the target path.
16 TARGET_NOT_WRITEABLE, // The target path isn't writeable. Also may indicate
17 // that a previous attempt to write to the path failed.
18 TARGET_NO_SPACE, // The target path cannot accommodate a file of this size.
19 };
20
21 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_CONFIRMATION_REASON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698