Index: chrome/browser/prefs/browser_prefs.cc |
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc |
index 139979108c3eef6b4da112afebc6f18ca0e3bbb1..7740ced84f68e3af68a780721f3e9bda8c87ac52 100644 |
--- a/chrome/browser/prefs/browser_prefs.cc |
+++ b/chrome/browser/prefs/browser_prefs.cc |
@@ -79,6 +79,7 @@ |
#include "components/ntp_snippets/bookmarks/bookmark_suggestions_provider.h" |
#include "components/ntp_snippets/ntp_snippets_service.h" |
#include "components/ntp_snippets/request_throttler.h" |
+#include "components/ntp_snippets/user_classifier.h" |
#include "components/omnibox/browser/zero_suggest_provider.h" |
#include "components/password_manager/core/browser/password_bubble_experiment.h" |
#include "components/password_manager/core/browser/password_manager.h" |
@@ -464,9 +465,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); |
MediaDeviceIDSalt::RegisterProfilePrefs(registry); |
MediaStreamDevicesController::RegisterProfilePrefs(registry); |
- ntp_snippets::BookmarkSuggestionsProvider::RegisterProfilePrefs(registry); |
ntp_snippets::NTPSnippetsService::RegisterProfilePrefs(registry); |
- ntp_snippets::RequestThrottler::RegisterProfilePrefs(registry); |
password_bubble_experiment::RegisterPrefs(registry); |
password_manager::PasswordManager::RegisterProfilePrefs(registry); |
PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); |
@@ -535,6 +534,10 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
#if BUILDFLAG(ANDROID_JAVA_UI) |
Marc Treib
2016/09/07 13:23:48
Is this the correct flag, or should it be OS_ANDRO
jkrcal
2016/09/07 14:19:07
I thought this is the right way. I just tried to o
|
variations::VariationsService::RegisterProfilePrefs(registry); |
+ ntp_snippets::BookmarkSuggestionsProvider::RegisterProfilePrefs(registry); |
+ ntp_snippets::RequestThrottler::RegisterProfilePrefs(registry); |
+ ntp_snippets::OfflinePageSuggestionsProvider::RegisterProfilePrefs(registry); |
+ ntp_snippets::UserClassifier::RegisterProfilePrefs(registry); |
ntp_tiles::MostVisitedSites::RegisterProfilePrefs(registry); |
ntp_tiles::PopularSites::RegisterProfilePrefs(registry); |
NewTabPagePrefs::RegisterProfilePrefs(registry); |
@@ -558,7 +561,6 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
#if defined(OS_ANDROID) |
NotificationPlatformBridgeAndroid::RegisterProfilePrefs(registry); |
- ntp_snippets::OfflinePageSuggestionsProvider::RegisterProfilePrefs(registry); |
#else |
browser_sync::ForeignSessionHandler::RegisterProfilePrefs(registry); |
gcm::GCMChannelStatusSyncer::RegisterProfilePrefs(registry); |