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

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

Issue 2453633006: [downloads] Move platform specific code out of DownloadTargetDeterminer. (Closed)
Patch Set: . Created 3 years, 9 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_RESULT_H_
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_CONFIRMATION_RESULT_H_
7
8 // Result of RequestConfirmation delegate method for
9 // DownloadTargetDeterminerDelegate.
10 enum class DownloadConfirmationResult {
11 // The user confirmed the path. Only use this value if the user was explicitly
12 // shown the path or at least the filename being downloaded.
13 CONFIRMED,
14
15 // The operation failed due to a reason other than a user cancellation.
16 FAILED,
17
18 // The user cancelled.
19 CANCELED,
20
21 // User was not explicitly prompted, but continue with current path. The
22 // delegate should use this value instead of CONFIRMED if the user was not
23 // presented with some UI that explicitly called out the filename being
24 // downloaded.
25 CONTINUE_WITHOUT_CONFIRMATION
26 };
27
28 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_CONFIRMATION_RESULT_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/download_confirmation_reason.h ('k') | chrome/browser/download/download_file_picker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698