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 #ifndef CHROME_BROWSER_ANDROID_PREFERENCES_BROWSER_PREFS_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_PREFERENCES_BROWSER_PREFS_ANDROID_H_ |
6 #define CHROME_BROWSER_ANDROID_PREFERENCES_BROWSER_PREFS_ANDROID_H_ | 6 #define CHROME_BROWSER_ANDROID_PREFERENCES_BROWSER_PREFS_ANDROID_H_ |
7 | 7 |
| 8 class PrefRegistrySimple; |
| 9 |
8 namespace user_prefs { | 10 namespace user_prefs { |
9 class PrefRegistrySyncable; | 11 class PrefRegistrySyncable; |
10 } // namespace user_prefs | 12 } // namespace user_prefs |
11 | 13 |
12 namespace android { | 14 namespace android { |
13 | 15 |
| 16 // Register all prefs that will be used via the local state PrefService. |
| 17 void RegisterPrefs(PrefRegistrySimple* registry); |
| 18 |
14 // Register all prefs that will be used via a PrefService attached to a user | 19 // Register all prefs that will be used via a PrefService attached to a user |
15 // Profile on Android. | 20 // Profile on Android. |
16 void RegisterUserProfilePrefs(user_prefs::PrefRegistrySyncable* registry); | 21 void RegisterUserProfilePrefs(user_prefs::PrefRegistrySyncable* registry); |
17 | 22 |
18 } // namespace android | 23 } // namespace android |
19 | 24 |
20 #endif // CHROME_BROWSER_ANDROID_PREFERENCES_BROWSER_PREFS_ANDROID_H_ | 25 #endif // CHROME_BROWSER_ANDROID_PREFERENCES_BROWSER_PREFS_ANDROID_H_ |
OLD | NEW |