| Index: content/public/browser/download_item.h
|
| diff --git a/content/public/browser/download_item.h b/content/public/browser/download_item.h
|
| index b3003ef9e8aa3997c6a4e7691bca6d192dec0f63..f8f3468904c2715afb874761b124b81d67db5452 100644
|
| --- a/content/public/browser/download_item.h
|
| +++ b/content/public/browser/download_item.h
|
| @@ -152,7 +152,11 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData {
|
| virtual DownloadId GetGlobalId() const = 0;
|
| virtual DownloadState GetState() const = 0;
|
|
|
| - // Only valid if |GetState() == DownloadItem::INTERRUPTED|.
|
| + // Returns the most recent interrupt reason for this download. Returns
|
| + // DOWNLOAD_INTERRUPT_REASON_NONE if there is no previous interrupt reason.
|
| + // Cancelled downloads return DOWNLOAD_INTERRUPT_REASON_USER_CANCELLED. If
|
| + // the download was resumed, then the return value is the interrupt reason
|
| + // prior to resumption.
|
| virtual DownloadInterruptReason GetLastReason() const = 0;
|
|
|
| virtual bool IsPaused() const = 0;
|
|
|