| 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..45fd78395c7f362aefa9be344fd39ed1cbb2fe58 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 successful add the last interrupt reason and the
|
| + // two target paths to downloads.
|
| + bool MigrateReasonAndPaths();
|
| +
|
| // Creates the downloads table if needed.
|
| bool InitDownloadTable();
|
|
|
|
|