| Index: components/offline_pages/downloads/offline_page_download_notifier.h
|
| diff --git a/components/offline_pages/downloads/offline_page_download_notifier.h b/components/offline_pages/downloads/offline_page_download_notifier.h
|
| index c35c80d86b4f109d6ed81c947d59f3aec5e4b488..74921852440d78451837614358f93d106b807d2f 100644
|
| --- a/components/offline_pages/downloads/offline_page_download_notifier.h
|
| +++ b/components/offline_pages/downloads/offline_page_download_notifier.h
|
| @@ -13,11 +13,23 @@ struct OfflinePageDownloadNotifier {
|
| public:
|
| virtual ~OfflinePageDownloadNotifier() = default;
|
|
|
| + // Reports that |item| has completed successfully.
|
| virtual void NotifyDownloadSuccessful(const DownloadUIItem& item) = 0;
|
| +
|
| + // Reports that |item| has completed unsuccessfully.
|
| virtual void NotifyDownloadFailed(const DownloadUIItem& item) = 0;
|
| +
|
| + // Reports that |item| is active and possibly making progress.
|
| virtual void NotifyDownloadProgress(const DownloadUIItem& item) = 0;
|
| +
|
| + // Reports that |item| has been paused (and so it is not active).
|
| virtual void NotifyDownloadPaused(const DownloadUIItem& item) = 0;
|
| +
|
| + // Reports that any progress on |item| has been interrupted. It is pending
|
| + // or available for another attempt when conditions allows.
|
| virtual void NotifyDownloadInterrupted(const DownloadUIItem& item) = 0;
|
| +
|
| + // Reports that |item| has been canceled.
|
| virtual void NotifyDownloadCanceled(const DownloadUIItem& item) = 0;
|
| };
|
|
|
|
|