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

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

Issue 2606753002: Post notification after fetching articles (Closed)
Patch Set: override Created 4 years 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 c05003344d63274343f5b7c5249adf0e37c064ed..12db7bb251f2075b49156184b1ea31d3c82e444e 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -110,6 +110,7 @@
#endif
#if defined(OS_ANDROID)
+#include "chrome/browser/ntp_snippets/content_suggestions_notifier_service_factory.h"
#include "chrome/browser/ntp_snippets/content_suggestions_service_factory.h"
#endif
@@ -1203,6 +1204,8 @@ void ProfileManager::DoFinalInitForServices(Profile* profile,
#if defined(OS_ANDROID)
// Service is responsible for fetching content snippets for the NTP.
ContentSuggestionsServiceFactory::GetForProfile(profile);
+ // Generates notifications from the above, if experiment is enabled.
+ ContentSuggestionsNotifierServiceFactory::GetForProfile(profile);
Bernhard Bauer 2017/01/03 17:38:59 If you want your service to be created together wi
sfiera 2017/01/03 23:13:55 Done.
#endif
}
« chrome/browser/prefs/browser_prefs.cc ('K') | « chrome/browser/prefs/browser_prefs.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698