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

Unified Diff: content/browser/download/download_item_impl_delegate.cc

Issue 11740026: Pull delegate check back into IsDownloadReadyForCompletion so that if (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed test. Created 7 years, 12 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/browser/download/download_item_impl_delegate.cc
diff --git a/content/browser/download/download_item_impl_delegate.cc b/content/browser/download/download_item_impl_delegate.cc
index bbfbea1065502a31382f35f5a22230e48026fac8..b4201aa2dc3fef45c0545f885e8c86cc819be6c4 100644
--- a/content/browser/download/download_item_impl_delegate.cc
+++ b/content/browser/download/download_item_impl_delegate.cc
@@ -37,10 +37,10 @@ void DownloadItemImplDelegate::DetermineDownloadTarget(
target_path);
}
-void DownloadItemImplDelegate::ReadyForDownloadCompletion(
+bool DownloadItemImplDelegate::ShouldCompleteDownload(
DownloadItemImpl* download,
const base::Closure& complete_callback) {
- complete_callback.Run();
+ return true;
}
bool DownloadItemImplDelegate::ShouldOpenDownload(
« no previous file with comments | « content/browser/download/download_item_impl_delegate.h ('k') | content/browser/download/download_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698