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

Unified Diff: components/offline_pages/offline_page_model.h

Issue 2180973002: [Offline pages] Adapting OfflinePageDownloadBridge to DownloadUIAdapter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ui-adapter
Patch Set: Hooking up download ui adapter to offline page model and bridge Created 4 years, 5 months 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/offline_page_model.h
diff --git a/components/offline_pages/offline_page_model.h b/components/offline_pages/offline_page_model.h
index 9c6efb7aaca737e960f67ac1ce10672776b32f3a..824d6fe9c804c1e7011be3084f9ff428a333c982 100644
--- a/components/offline_pages/offline_page_model.h
+++ b/components/offline_pages/offline_page_model.h
@@ -26,6 +26,7 @@ class Time;
namespace offline_pages {
struct ClientId;
+class DownloadUIAdapter;
struct OfflinePageItem;
// Service for saving pages offline, storing the offline copy and metadata, and
@@ -196,6 +197,9 @@ class OfflinePageModel : public base::SupportsUserData {
// Returns the policy controller.
virtual ClientPolicyController* GetPolicyController() = 0;
+ // Returns the Download UI Adapter.
+ virtual DownloadUIAdapter* GetDownloadUIAdapter() = 0;
+
// TODO(dougarnett): Remove this and its uses.
virtual bool is_loaded() const = 0;

Powered by Google App Engine
This is Rietveld 408576698