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

Unified Diff: content/public/browser/download_manager_delegate.cc

Issue 10263019: DownloadManagerDelegate::ShouldCompleteDownload(callback) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: complete_callback is the droids you're looking for. Created 8 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/download_manager_delegate.cc
diff --git a/content/public/browser/download_manager_delegate.cc b/content/public/browser/download_manager_delegate.cc
index 6abc0ad957e1b0e2748e640128e55e84a3fd16a9..63f3cd755302a66f08a15d31310fda6dcc30b4f5 100644
--- a/content/public/browser/download_manager_delegate.cc
+++ b/content/public/browser/download_manager_delegate.cc
@@ -31,7 +31,9 @@ bool DownloadManagerDelegate::ShouldOpenFileBasedOnExtension(
return false;
}
-bool DownloadManagerDelegate::ShouldCompleteDownload(DownloadItem* item) {
+bool DownloadManagerDelegate::ShouldCompleteDownload(
+ DownloadItem* item,
+ const base::Closure& complete_callback) {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698