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

Unified Diff: chrome/browser/download/download_request_manager.h

Issue 164547: Mac: make save/open dialogs operate as tab-modal sheets.... Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Painfully (but hopefully correctly) merged ToT. Created 11 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/download/download_manager.cc ('k') | chrome/browser/download/download_request_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_request_manager.h
diff --git a/chrome/browser/download/download_request_manager.h b/chrome/browser/download/download_request_manager.h
index f9351c8895bc98d6dae811fd44ca53ee6e60f98b..f60ab18029db58c41c4eea7fd3da638ec5306ff7 100644
--- a/chrome/browser/download/download_request_manager.h
+++ b/chrome/browser/download/download_request_manager.h
@@ -89,10 +89,11 @@ class DownloadRequestManager :
// may result in invoking Remove on DownloadRequestManager.
void OnUserGesture();
- // Asks the user if they really want to allow the download.
+ // Asks the user if they really want to allow the download. Returns |false|
+ // on error (|true| otherwise).
// See description above CanDownloadOnIOThread for details on lifetime of
// callback.
- void PromptUserForDownload(TabContents* tab,
+ bool PromptUserForDownload(TabContents* tab,
DownloadRequestManager::Callback* callback);
// Are we showing a prompt to the user?
« no previous file with comments | « chrome/browser/download/download_manager.cc ('k') | chrome/browser/download/download_request_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698