OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_BROWSER_VIEW_PREFS_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_VIEW_PREFS_H_ |
6 #define CHROME_BROWSER_UI_BROWSER_VIEW_PREFS_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_VIEW_PREFS_H_ |
7 | 7 |
8 class PrefRegistrySimple; | 8 class PrefRegistrySimple; |
9 | 9 |
| 10 namespace user_prefs { |
| 11 class PrefRegistrySyncable; |
| 12 } |
| 13 |
10 namespace chrome { | 14 namespace chrome { |
11 | 15 |
12 // Register local state preferences specific to BrowserView. | 16 // Register local state preferences specific to BrowserView. |
13 void RegisterBrowserViewPrefs(PrefRegistrySimple* registry); | 17 void RegisterBrowserViewLocalPrefs(PrefRegistrySimple* registry); |
| 18 |
| 19 // Register profile-specific preferences specific to BrowserView. These |
| 20 // preferences may be synced, depending on the pref's |sync_status| parameter. |
| 21 void RegisterBrowserViewProfilePrefs( |
| 22 user_prefs::PrefRegistrySyncable* registry); |
14 | 23 |
15 } // namespace chrome | 24 } // namespace chrome |
16 | 25 |
17 #endif // CHROME_BROWSER_UI_BROWSER_VIEW_PREFS_H_ | 26 #endif // CHROME_BROWSER_UI_BROWSER_VIEW_PREFS_H_ |
OLD | NEW |