summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/save_package.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/download/save_package.cc')
-rw-r--r--chrome/browser/download/save_package.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/download/save_package.cc b/chrome/browser/download/save_package.cc
index dcf8bdb..452a2ba 100644
--- a/chrome/browser/download/save_package.cc
+++ b/chrome/browser/download/save_package.cc
@@ -28,6 +28,8 @@
#include "chrome/browser/tab_contents/tab_contents.h"
#include "chrome/browser/tab_contents/tab_util.h"
#include "chrome/common/chrome_paths.h"
+#include "chrome/common/notification_service.h"
+#include "chrome/common/notification_type.h"
#include "chrome/common/platform_util.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/pref_service.h"
@@ -601,6 +603,11 @@ void SavePackage::Finish() {
save_ids));
download_->Finished(all_save_items_count_);
+
+ NotificationService::current()->Notify(
+ NotificationType::SAVE_PACKAGE_SUCCESSFULLY_FINISHED,
+ Source<SavePackage>(this),
+ Details<GURL>(&page_url_));
}
// Called for updating end state.