Index: content/public/browser/download_item.h |
diff --git a/content/public/browser/download_item.h b/content/public/browser/download_item.h |
index 3af164e2d24d35c46d23351d39f5ac3591e63bb4..ddc79f5ae63fb62186855ec1cb6076e1b87c99b7 100644 |
--- a/content/public/browser/download_item.h |
+++ b/content/public/browser/download_item.h |
@@ -158,6 +158,11 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData { |
virtual bool IsPaused() const = 0; |
virtual bool IsTemporary() const = 0; |
+ // Returns true if the download can be resumed. A download can be resumed if |
+ // an in-progress download was paused or if an interrupted download requires |
+ // user-interaction to resume. |
+ virtual bool CanResume() const = 0; |
+ |
// Convenience routines for accessing GetState() results conceptually ----- |
// Returns true if the download needs more data. |