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

Unified Diff: chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc

Issue 2864293003: [Offline Pages] Add a GCMAppHandler for offline page prefetch. (Closed)
Patch Set: Created 3 years, 7 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: chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
diff --git a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
index 33201052f33cb3205a8043c856e058d0a42e6df4..8e1e8715ae1d50b8c14526369203da44aa080c40 100644
--- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
+++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
@@ -125,6 +125,7 @@
#if defined(OS_ANDROID)
#include "chrome/browser/android/data_usage/data_use_ui_tab_model_factory.h"
+#include "chrome/browser/android/offline_pages/prefetch/prefetch_service_factory.h"
#include "chrome/browser/android/search_geolocation/search_geolocation_service.h"
#else
#include "chrome/browser/cryptauth/chrome_cryptauth_service_factory.h"
@@ -312,6 +313,7 @@ EnsureBrowserContextKeyedServiceFactoriesBuilt() {
ProfileSyncServiceFactory::GetInstance();
ProtocolHandlerRegistryFactory::GetInstance();
#if defined(OS_ANDROID)
+ offline_pages::PrefetchServiceFactory::GetInstance();
SearchGeolocationService::Factory::GetInstance();
#endif
#if BUILDFLAG(ENABLE_SESSION_SERVICE)

Powered by Google App Engine
This is Rietveld 408576698