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

Unified Diff: chrome/browser/download/save_package.cc

Issue 6096003: Put history insertion for downloads processing inline. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporated comments, fixed windows int64->int compile error. Created 9 years, 11 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: chrome/browser/download/save_package.cc
diff --git a/chrome/browser/download/save_package.cc b/chrome/browser/download/save_package.cc
index 23c062c83cfbeaa987c88abdc3c303940f8d46df..f4405c6778e43b2ccf8bfcb21ece10eda13dbd46 100644
--- a/chrome/browser/download/save_package.cc
+++ b/chrome/browser/download/save_package.cc
@@ -686,9 +686,9 @@ void SavePackage::Finish() {
&SaveFileManager::RemoveSavedFileFromFileMap,
save_ids));
- download_->OnAllDataSaved(all_save_items_count_);
+ download_->OnReadyToFinish(all_save_items_count_);
// Notify download observers that we are complete (the call
- // to OnAllDataSaved() set the state to complete but did not notify).
+ // to OnReadyToFinish() set the state to complete but did not notify).
download_->UpdateObservers();
NotificationService::current()->Notify(

Powered by Google App Engine
This is Rietveld 408576698