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

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

Issue 233723002: Workarounding fix for save complete page problems. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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
« no previous file with comments | « content/browser/download/download_manager_impl.h ('k') | content/browser/download/save_item.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_manager_impl.cc
diff --git a/content/browser/download/download_manager_impl.cc b/content/browser/download/download_manager_impl.cc
index 46198075e9717bb45783b16d83a1449bc3eaa0a6..9266d5e6c09758e514fbf7f006c047dd3fe51736 100644
--- a/content/browser/download/download_manager_impl.cc
+++ b/content/browser/download/download_manager_impl.cc
@@ -518,10 +518,10 @@ void DownloadManagerImpl::CreateSavePackageDownloadItemWithId(
item_created.Run(download_item);
}
-void DownloadManagerImpl::OnSavePackageSuccessfullyFinished(
- DownloadItem* download_item) {
+void DownloadManagerImpl::OnSavePackageFinished(
+ bool success, DownloadItem* download_item) {
FOR_EACH_OBSERVER(Observer, observers_,
- OnSavePackageSuccessfullyFinished(this, download_item));
+ OnSavePackageFinished(success, this, download_item));
}
// Resume a download of a specific URL. We send the request to the
« no previous file with comments | « content/browser/download/download_manager_impl.h ('k') | content/browser/download/save_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698