OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/android/preferences/browser_prefs_android.h" | 5 #include "chrome/browser/android/preferences/browser_prefs_android.h" |
6 | 6 |
7 #include "blimp/client/public/blimp_client_context.h" | 7 #include "blimp/client/public/blimp_client_context.h" |
8 #include "chrome/browser/android/search_geolocation_disclosure_tab_helper.h" | 8 #include "chrome/browser/android/search_geolocation_disclosure_tab_helper.h" |
9 #include "chrome/browser/notifications/notification_platform_bridge_android.h" | 9 #include "chrome/browser/notifications/notification_platform_bridge_android.h" |
10 #include "chrome/browser/ntp_snippets/download_suggestions_provider.h" | |
11 #include "components/ntp_snippets/offline_pages/recent_tab_suggestions_provider.
h" | |
12 #include "components/pref_registry/pref_registry_syncable.h" | 10 #include "components/pref_registry/pref_registry_syncable.h" |
13 #include "components/prefs/pref_registry_simple.h" | 11 #include "components/prefs/pref_registry_simple.h" |
14 | 12 |
15 namespace android { | 13 namespace android { |
16 | 14 |
17 void RegisterUserProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { | 15 void RegisterUserProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
18 DownloadSuggestionsProvider::RegisterProfilePrefs(registry); | |
19 NotificationPlatformBridgeAndroid::RegisterProfilePrefs(registry); | 16 NotificationPlatformBridgeAndroid::RegisterProfilePrefs(registry); |
20 SearchGeolocationDisclosureTabHelper::RegisterProfilePrefs(registry); | 17 SearchGeolocationDisclosureTabHelper::RegisterProfilePrefs(registry); |
21 ntp_snippets::RecentTabSuggestionsProvider::RegisterProfilePrefs(registry); | |
22 blimp::client::BlimpClientContext::RegisterPrefs(registry); | 18 blimp::client::BlimpClientContext::RegisterPrefs(registry); |
23 } | 19 } |
24 | 20 |
25 } // namespace android | 21 } // namespace android |
OLD | NEW |