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

Side by Side 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: more 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_OFFLINE_PAGES_DOWNLOADS_OFFLINE_PAGE_DOWNLOAD_NOTIFIER_H_
6 #define COMPONENTS_OFFLINE_PAGES_DOWNLOADS_OFFLINE_PAGE_DOWNLOAD_NOTIFIER_H_
7
8 #include "components/offline_pages/downloads/download_ui_item.h"
9
10 namespace offline_pages {
11
12 struct OfflinePageDownloadNotifier {
13 public:
14 virtual ~OfflinePageDownloadNotifier() = default;
15
16 virtual void NotifyDownloadSuccessful(const DownloadUIItem& item) = 0;
17 virtual void NotifyDownloadFailed(const DownloadUIItem& item) = 0;
18 virtual void NotifyDownloadProgress(const DownloadUIItem& item) = 0;
19 virtual void NotifyDownloadPaused(const DownloadUIItem& item) = 0;
20 virtual void NotifyDownloadInterrupted(const DownloadUIItem& item) = 0;
21 virtual void NotifyDownloadCanceled(const DownloadUIItem& item) = 0;
22 };
23
24 } // namespace offline_pages
25
26 #endif // COMPONENTS_OFFLINE_PAGES_DOWNLOADS_OFFLINE_PAGE_DOWNLOAD_NOTIFIER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698