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

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

Issue 11363222: Persist download interrupt reason, both target and current paths, and url_chain. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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: 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 3da3f5658984eb20b046e95f25f8a746ba68733f..406654453f95297396df4d9b347fed1abec7c825 100644
--- a/content/browser/download/download_manager_impl.cc
+++ b/content/browser/download/download_manager_impl.cc
@@ -839,7 +839,7 @@ void DownloadManagerImpl::DownloadRenamedToFinalName(
// If the rename failed, we processed an interrupt before we get here.
if (delegate_) {
delegate_->UpdatePathForItemInPersistentStore(
- download, download->GetFullPath());
+ download, download->GetTargetFilePath(), download->GetFullPath());
}
}

Powered by Google App Engine
This is Rietveld 408576698