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

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

Issue 2139293004: [TEMP - DO NOT SUBMIT] OfflinePagesProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@internalspage
Patch Set: Implement OfflinePage conversion 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: chrome/browser/profiles/profile_manager.cc
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
index becbd9c58071491f5348fa038617b0acf7786f93..2fad81f03c670f26c13777f3c8e458213bea5d36 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -109,6 +109,7 @@
#if defined(OS_ANDROID)
#include "chrome/browser/ntp_snippets/content_suggestions_service_factory.h"
#include "chrome/browser/ntp_snippets/ntp_snippets_service_factory.h"
+#include "chrome/browser/ntp_snippets/offline_page_suggestions_provider_factory.h"
#endif
#if defined(OS_CHROMEOS)
@@ -1229,6 +1230,7 @@ void ProfileManager::DoFinalInitForServices(Profile* profile,
// Service is responsible for fetching content snippets for the NTP.
ContentSuggestionsServiceFactory::GetForProfile(profile);
NTPSnippetsServiceFactory::GetForProfile(profile);
+ OfflinePageSuggestionsProviderFactory::GetForProfile(profile);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698