Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Unified Diff: components/offline_pages/downloads/offline_page_download_notifier.h

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
deleted file mode 100644
index 74921852440d78451837614358f93d106b807d2f..0000000000000000000000000000000000000000
--- a/components/offline_pages/downloads/offline_page_download_notifier.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_OFFLINE_PAGES_DOWNLOADS_OFFLINE_PAGE_DOWNLOAD_NOTIFIER_H_
-#define COMPONENTS_OFFLINE_PAGES_DOWNLOADS_OFFLINE_PAGE_DOWNLOAD_NOTIFIER_H_
-
-#include "components/offline_pages/downloads/download_ui_item.h"
-
-namespace offline_pages {
-
-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;
-};
-
-} // namespace offline_pages
-
-#endif // COMPONENTS_OFFLINE_PAGES_DOWNLOADS_OFFLINE_PAGE_DOWNLOAD_NOTIFIER_H_
« no previous file with comments | « components/offline_pages/downloads/download_ui_item.cc ('k') | components/offline_pages/offline_event_logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698