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

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

Issue 2149453004: Implement first version of OfflinePageSuggestionsProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove separate build target for offline_page_suggestions 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 c70aeadba400ad2853907638b4201ee2dd726130..6451dd64211c2e6b0a0a6f153b8409e04b6f7c16 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -107,6 +107,7 @@
#endif
#if defined(OS_ANDROID)
+#include "chrome/browser/android/ntp/offline_page_suggestions_provider_factory.h"
#include "chrome/browser/ntp_snippets/content_suggestions_service_factory.h"
#include "chrome/browser/ntp_snippets/ntp_snippets_service_factory.h"
#endif
@@ -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
}
« no previous file with comments | « chrome/browser/ntp_snippets/ntp_snippets_service_factory.h ('k') | chrome/browser/resources/snippets_internals.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698