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

Unified Diff: components/offline_pages/core/prefetch/prefetch_service.h

Issue 2920083002: Prefetching: Introduce store commands abstractions to be used by tasks. (Closed)
Patch Set: Added TODO for NWake Created 3 years, 6 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/core/prefetch/prefetch_service.h
diff --git a/components/offline_pages/core/prefetch/prefetch_service.h b/components/offline_pages/core/prefetch/prefetch_service.h
index 3d00d980534d111649ec0343f6ee4b206c230b59..a98d9005613651a9fdc4f6b8be5a913be6160a04 100644
--- a/components/offline_pages/core/prefetch/prefetch_service.h
+++ b/components/offline_pages/core/prefetch/prefetch_service.h
@@ -12,7 +12,7 @@ class OfflineEventLogger;
class OfflineMetricsCollector;
class PrefetchDispatcher;
class PrefetchGCMHandler;
-class PrefetchStore;
+class PrefetchStoreCommandFactory;
class SuggestedArticlesObserver;
// Main class and entry point for the Offline Pages Prefetching feature, that
@@ -26,11 +26,11 @@ class PrefetchService : public KeyedService {
// The service manages lifetime, hookup and initialization of Prefetch
// system that consists of multiple specialized objects, all vended by this
// service.
+ virtual OfflineEventLogger* GetLogger() = 0;
virtual OfflineMetricsCollector* GetOfflineMetricsCollector() = 0;
virtual PrefetchDispatcher* GetPrefetchDispatcher() = 0;
virtual PrefetchGCMHandler* GetPrefetchGCMHandler() = 0;
- virtual PrefetchStore* GetPrefetchStore() = 0;
- virtual OfflineEventLogger* GetLogger() = 0;
+ virtual PrefetchStoreCommandFactory* GetPrefetchStoreCommandFactory() = 0;
// May be |nullptr| in tests. The PrefetchService does not depend on the
// SuggestedArticlesObserver, it merely owns it for lifetime purposes.

Powered by Google App Engine
This is Rietveld 408576698