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

Unified Diff: chrome/browser/download/chrome_download_manager_delegate.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: chrome/browser/download/chrome_download_manager_delegate.cc
diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrome/browser/download/chrome_download_manager_delegate.cc
index 27e110508adf6069887a366bd7534d35a738054e..5d0a6a3ca9920e54edc93cc6eb71fc446b63f9c5 100644
--- a/chrome/browser/download/chrome_download_manager_delegate.cc
+++ b/chrome/browser/download/chrome_download_manager_delegate.cc
@@ -498,8 +498,9 @@ void ChromeDownloadManagerDelegate::UpdateItemInPersistentStore(
void ChromeDownloadManagerDelegate::UpdatePathForItemInPersistentStore(
DownloadItem* item,
- const FilePath& new_path) {
- download_history_->UpdateDownloadPath(item, new_path);
+ const FilePath& target_path,
+ const FilePath& current_path) {
+ download_history_->UpdateDownloadPath(item, target_path, current_path);
}
void ChromeDownloadManagerDelegate::RemoveItemFromPersistentStore(

Powered by Google App Engine
This is Rietveld 408576698