Index: chrome/browser/history/download_database.h |
diff --git a/chrome/browser/history/download_database.h b/chrome/browser/history/download_database.h |
index f5e18bdfbbf052c255c5a7aec5f5884b0b4143b8..109d72d3af905487efbded1f5f7baf5c5fba86ab 100644 |
--- a/chrome/browser/history/download_database.h |
+++ b/chrome/browser/history/download_database.h |
@@ -42,8 +42,10 @@ class DownloadDatabase { |
// to select the row in the database table to update. |
bool UpdateDownload(const content::DownloadPersistentStoreInfo& data); |
- // Update the path of one download. Returns true if successful. |
- bool UpdateDownloadPath(const FilePath& path, DownloadID db_handle); |
+ // Update the paths of one download. Returns true if successful. |
+ bool UpdateDownloadPath(const FilePath& target_path, |
+ const FilePath& current_path, |
+ DownloadID db_handle); |
// Fixes state of the download entries. Sometimes entries with IN_PROGRESS |
// state are not updated during browser shutdown (particularly when crashing). |
@@ -75,6 +77,10 @@ class DownloadDatabase { |
// database. See http://crbug.com/140687 |
bool MigrateDownloadsState(); |
+ // Returns true if able to successfully add the last interrupt reason and the |
+ // two target paths to downloads. |
+ bool MigrateDownloadsReasonAndPaths(); |
+ |
// Creates the downloads table if needed. |
bool InitDownloadTable(); |