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

Unified Diff: chrome/browser/history/history_backend.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/history/history_backend.cc
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc
index e64dbc616432380f9b112bfff9ce986913d64b20..1aeffbb5e3bbbe032be2cab79ad788590d5b5618 100644
--- a/chrome/browser/history/history_backend.cc
+++ b/chrome/browser/history/history_backend.cc
@@ -1298,10 +1298,11 @@ void HistoryBackend::UpdateDownload(
}
// Update the path of a particular download entry.
-void HistoryBackend::UpdateDownloadPath(const FilePath& path,
+void HistoryBackend::UpdateDownloadPath(const FilePath& target_path,
+ const FilePath& current_path,
int64 db_handle) {
if (db_.get())
- db_->UpdateDownloadPath(path, db_handle);
+ db_->UpdateDownloadPath(target_path, current_path, db_handle);
}
// Create a new download entry and pass back the db_handle to it.

Powered by Google App Engine
This is Rietveld 408576698