Chromium Code Reviews| Index: content/browser/download/download_manager.h |
| diff --git a/content/browser/download/download_manager.h b/content/browser/download/download_manager.h |
| index 4a8c4a0686a44878e84c590dfe70c490154f3929..2a39f7441485060736db86dd2dbda250c369273e 100644 |
| --- a/content/browser/download/download_manager.h |
| +++ b/content/browser/download/download_manager.h |
| @@ -263,6 +263,9 @@ class CONTENT_EXPORT DownloadManager |
| // DownloadManagerDelegate::ShouldStartDownload and now is ready. |
| void RestartDownload(int32 download_id); |
| + // Mark the download opened in the persistent store. |
| + void MarkDownloadOpened(DownloadItem* download); |
|
Randy Smith (Not in Mondays)
2011/09/28 19:41:55
I thought this was being removed?
benjhayden
2011/09/28 20:29:39
I removed DownloadDatabase::MarkDownloadRemoved an
Randy Smith (Not in Mondays)
2011/09/30 15:57:21
Hmmm. Ok. From a pure functionality approach, I'
benjhayden
2011/10/03 20:54:39
The DI could implement RecordOpensOutstanding() in
Randy Smith (Not in Mondays)
2011/10/04 18:34:31
Agreed.
|
| + |
| // Checks whether downloaded files still exist. Updates state of downloads |
| // that refer to removed files. The check runs in the background and may |
| // finish asynchronously after this method returns. |