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 "chrome/browser/android/preferences/clipboard_android.h" |
7 #include "chrome/browser/android/search_geolocation/search_geolocation_disclosur
e_tab_helper.h" | 8 #include "chrome/browser/android/search_geolocation/search_geolocation_disclosur
e_tab_helper.h" |
8 #include "chrome/browser/android/search_geolocation/search_geolocation_service.h
" | 9 #include "chrome/browser/android/search_geolocation/search_geolocation_service.h
" |
9 #include "chrome/browser/notifications/notification_platform_bridge_android.h" | 10 #include "chrome/browser/notifications/notification_platform_bridge_android.h" |
10 #include "components/pref_registry/pref_registry_syncable.h" | 11 #include "components/pref_registry/pref_registry_syncable.h" |
11 #include "components/prefs/pref_registry_simple.h" | 12 #include "components/prefs/pref_registry_simple.h" |
12 | 13 |
13 namespace android { | 14 namespace android { |
14 | 15 |
| 16 void RegisterPrefs(PrefRegistrySimple* registry) { |
| 17 RegisterClipboardAndroidPrefs(registry); |
| 18 } |
| 19 |
15 void RegisterUserProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { | 20 void RegisterUserProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
16 NotificationPlatformBridgeAndroid::RegisterProfilePrefs(registry); | 21 NotificationPlatformBridgeAndroid::RegisterProfilePrefs(registry); |
17 SearchGeolocationDisclosureTabHelper::RegisterProfilePrefs(registry); | 22 SearchGeolocationDisclosureTabHelper::RegisterProfilePrefs(registry); |
18 } | 23 } |
19 | 24 |
20 } // namespace android | 25 } // namespace android |
OLD | NEW |