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

Unified Diff: chrome/browser/history/history.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.cc
diff --git a/chrome/browser/history/history.cc b/chrome/browser/history/history.cc
index 3591e5c0538e7e22a06a0e1525b290d4f3d6220b..0e5d48334d92a814de558c14dcb41fdf247fb375 100644
--- a/chrome/browser/history/history.cc
+++ b/chrome/browser/history/history.cc
@@ -707,11 +707,12 @@ void HistoryService::UpdateDownload(
ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::UpdateDownload, data);
}
-void HistoryService::UpdateDownloadPath(const FilePath& path,
+void HistoryService::UpdateDownloadPath(const FilePath& target_path,
+ const FilePath& current_path,
int64 db_handle) {
DCHECK(thread_checker_.CalledOnValidThread());
ScheduleAndForget(PRIORITY_NORMAL, &HistoryBackend::UpdateDownloadPath,
- path, db_handle);
+ target_path, current_path, db_handle);
}
void HistoryService::RemoveDownload(int64 db_handle) {

Powered by Google App Engine
This is Rietveld 408576698