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

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: merge Created 8 years, 7 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 | « content/public/browser/download_manager_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 86b1df9ad01a32c4b12c61960ee3cae89a4f975b..52760c1caeabcb1bb26f0580f3982490dd43fe3f 100644
--- a/content/public/browser/download_manager_delegate.cc
+++ b/content/public/browser/download_manager_delegate.cc
@@ -34,7 +34,9 @@ bool DownloadManagerDelegate::ShouldOpenFileBasedOnExtension(
return false;
}
-bool DownloadManagerDelegate::ShouldCompleteDownload(DownloadItem* item) {
+bool DownloadManagerDelegate::ShouldCompleteDownload(
+ DownloadItem* item,
+ const base::Closure& complete_callback) {
return true;
}
« no previous file with comments | « content/public/browser/download_manager_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698