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

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

Issue 2190583002: Add bookmark provider for content suggestions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix one comment line 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 09c2b0f137c78f9c521cdc59f9352b75c78b0936..211cee24159a1e6b6a689142b3022bb3dd794724 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/bookmark_suggestions_provider_factory.h"
#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"
@@ -1231,6 +1232,7 @@ void ProfileManager::DoFinalInitForServices(Profile* profile,
ContentSuggestionsServiceFactory::GetForProfile(profile);
NTPSnippetsServiceFactory::GetForProfile(profile);
OfflinePageSuggestionsProviderFactory::GetForProfile(profile);
+ BookmarkSuggestionsProviderFactory::GetForProfile(profile);
Bernhard Bauer 2016/07/29 10:28:51 Can we please not add any more initialization code
jkrcal 2016/07/29 13:57:17 Oh, did not know. Philipp is working on a CL that
Bernhard Bauer 2016/07/29 14:32:42 You mean all four? :) If you absolutely can't get
jkrcal 2016/07/29 16:09:56 I am leaving for vacation. Did not manage to finis
#endif
}

Powered by Google App Engine
This is Rietveld 408576698