Chromium Code Reviews| Index: content/public/browser/download_item.h |
| diff --git a/content/public/browser/download_item.h b/content/public/browser/download_item.h |
| index 9eaf629612e7ca77f2f89701deba996ac6da7bd2..51a6de3ec10f51993dd97c379fed594654f1a9a7 100644 |
| --- a/content/public/browser/download_item.h |
| +++ b/content/public/browser/download_item.h |
| @@ -27,6 +27,7 @@ |
| #include "content/public/browser/download_danger_type.h" |
| #include "content/public/browser/download_interrupt_reasons.h" |
| #include "content/public/common/page_transition_types.h" |
| +#include "net/base/net_log.h" |
|
benjhayden
2013/01/08 16:41:17
necessary?
Randy Smith (Not in Mondays)
2013/01/09 22:34:37
Apparently not :-}.
|
| class FilePath; |
| class GURL; |
| @@ -122,6 +123,9 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData { |
| // Allow the user to temporarily pause a download or resume a paused download. |
| virtual void TogglePause() = 0; |
| + // Resume a download that's been interrupted. |
| + virtual void ResumeInterruptedDownload() = 0; |
| + |
| // Cancel the download operation. We need to distinguish between cancels at |
| // exit (DownloadManager destructor) from user interface initiated cancels |
| // because at exit, the history system may not exist, and any updates to it |