summaryrefslogtreecommitdiffstats
path: root/content/browser/download/save_package.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/download/save_package.cc')
-rw-r--r--content/browser/download/save_package.cc11
1 files changed, 1 insertions, 10 deletions
diff --git a/content/browser/download/save_package.cc b/content/browser/download/save_package.cc
index 1be1da4..c074d1e 100644
--- a/content/browser/download/save_package.cc
+++ b/content/browser/download/save_package.cc
@@ -1392,16 +1392,7 @@ void SavePackage::FinalizeDownloadEntry() {
DCHECK(download_);
DCHECK(download_manager_);
- NotificationService::current()->Notify(
- NOTIFICATION_SAVE_PACKAGE_SUCCESSFULLY_FINISHED,
- // We use the DownloadManager as the source as that's a
- // central SavePackage related location that observers can
- // get to if they want to wait for notifications for a
- // particular BrowserContext. Alternatively, we could make
- // it come from the WebContents, which would be more specific
- // but less useful to (current) customers.
- Source<DownloadManager>(download_manager_),
- Details<DownloadItem>(download_));
+ download_manager_->OnSavePackageSuccessfullyFinished(download_);
StopObservation();
}