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

Unified Diff: chrome/browser/download/download_history.h

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/download_history.h
diff --git a/chrome/browser/download/download_history.h b/chrome/browser/download/download_history.h
index 1a831ed706048439d371eb0bdce1c48ce5b11a4c..2a285836bea9f6ca60529c121204b33fcde80b5a 100644
--- a/chrome/browser/download/download_history.h
+++ b/chrome/browser/download/download_history.h
@@ -51,9 +51,10 @@ class DownloadHistory {
// Updates the history entry for |download_item|.
void UpdateEntry(content::DownloadItem* download_item);
- // Updates the download path for |download_item| to |new_path|.
+ // Updates the download paths for |download_item|.
void UpdateDownloadPath(content::DownloadItem* download_item,
- const FilePath& new_path);
+ const FilePath& target_path,
+ const FilePath& current_path);
// Removes |download_item| from the history database.
void RemoveEntry(content::DownloadItem* download_item);

Powered by Google App Engine
This is Rietveld 408576698