summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/save_package.cc
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-10 22:00:30 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-10 22:00:30 +0000
commita850ba49a28734c8660e04c52449a3b770a04d1b (patch)
tree7acfd8a08f0bc74e1af55a9553ba5b7720ef5903 /chrome/browser/download/save_package.cc
parentcea5e4f176b0cbee7e1e2df373ebe48b850490c6 (diff)
downloadchromium_src-a850ba49a28734c8660e04c52449a3b770a04d1b.zip
chromium_src-a850ba49a28734c8660e04c52449a3b770a04d1b.tar.gz
chromium_src-a850ba49a28734c8660e04c52449a3b770a04d1b.tar.bz2
GTTF: download cleanup, rename things to be more accurate.
Also, moved some code closer to the object it's operating on. BUG=48913 TEST=unit_tests, ui_tests, browser_tests Review URL: http://codereview.chromium.org/3341013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59156 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/save_package.cc')
-rw-r--r--chrome/browser/download/save_package.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/download/save_package.cc b/chrome/browser/download/save_package.cc
index 190ba29..42003fa 100644
--- a/chrome/browser/download/save_package.cc
+++ b/chrome/browser/download/save_package.cc
@@ -722,9 +722,9 @@ void SavePackage::Finish() {
&SaveFileManager::RemoveSavedFileFromFileMap,
save_ids));
- download_->Finished(all_save_items_count_);
- // Notify download observers that we are complete (the call to Finished() set
- // the state to complete but did not notify).
+ download_->OnAllDataSaved(all_save_items_count_);
+ // Notify download observers that we are complete (the call
+ // to OnAllDataSaved() set the state to complete but did not notify).
download_->UpdateObservers();
NotificationService::current()->Notify(