| Index: content/public/browser/download_item.h
|
| diff --git a/content/public/browser/download_item.h b/content/public/browser/download_item.h
|
| index 51a6de3ec10f51993dd97c379fed594654f1a9a7..c731a47687250acd997eb85e238b922d4a1c2b72 100644
|
| --- a/content/public/browser/download_item.h
|
| +++ b/content/public/browser/download_item.h
|
| @@ -161,6 +161,7 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData {
|
| virtual DownloadInterruptReason GetLastReason() const = 0;
|
|
|
| virtual bool IsPaused() const = 0;
|
| + virtual bool CanResumeInterrupted() const = 0;
|
| virtual bool IsTemporary() const = 0;
|
|
|
| // Convenience routines for accessing GetState() results conceptually -----
|
| @@ -281,6 +282,9 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData {
|
| // Returns true if it is OK to open the download.
|
| virtual bool CanOpenDownload() = 0;
|
|
|
| + // Returns true if the download is paused or interrupted, and can be resumed.
|
| + virtual bool CanResumeDownload() const = 0;
|
| +
|
| // Tests if a file type should be opened automatically.
|
| virtual bool ShouldOpenFileBasedOnExtension() = 0;
|
|
|
|
|