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

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 3 years, 8 months 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 // Reason why DownloadTargetDeterminer requested additional confirmation for the
9 // target path via RequestConfirmation delegate method.
10 enum class DownloadConfirmationReason {
11 NONE,
12
13 // Unexpected error.
14 UNEXPECTED,
15
16 // "Save as" or "Save link as".
17 SAVE_AS,
18
19 // The user has set a preference requiring prompts for all downloads.
20 PREFERENCE,
21
22 // The target name was too long and couldn't be truncated.
23 NAME_TOO_LONG,
24
25 // There were unresolved conflicts with the target path.
26 TARGET_CONFLICT,
27
28 // The target path isn't writeable. Also may indicate that a previous attempt
29 // to write to the path failed.
30 TARGET_PATH_NOT_WRITEABLE,
31
32 // The target path cannot accommodate a file of this size.
33 TARGET_NO_SPACE,
34 };
35
36 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_CONFIRMATION_REASON_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/download_browsertest.cc ('k') | chrome/browser/download/download_confirmation_result.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698