Chromium Code Reviews| 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 |
| } |