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 class PrefService; |
9 | 10 |
10 namespace user_prefs { | 11 namespace user_prefs { |
11 class PrefRegistrySyncable; | 12 class PrefRegistrySyncable; |
12 } | 13 } |
13 | 14 |
14 namespace chrome { | 15 namespace chrome { |
15 | 16 |
16 // Register local state preferences specific to BrowserView. | 17 // Register local state preferences specific to BrowserView. |
17 void RegisterBrowserViewLocalPrefs(PrefRegistrySimple* registry); | 18 void RegisterBrowserViewLocalPrefs(PrefRegistrySimple* registry); |
18 | 19 |
19 // Register profile-specific preferences specific to BrowserView. These | 20 // Register profile-specific preferences specific to BrowserView. These |
20 // preferences may be synced, depending on the pref's |sync_status| parameter. | 21 // preferences may be synced, depending on the pref's |sync_status| parameter. |
21 void RegisterBrowserViewProfilePrefs( | 22 void RegisterBrowserViewProfilePrefs( |
22 user_prefs::PrefRegistrySyncable* registry); | 23 user_prefs::PrefRegistrySyncable* registry); |
23 | 24 |
| 25 // Converts deprecated int tabstrip layout type into a boolean value indicating |
| 26 // stacked layout preference. |
| 27 void MigrateBrowserTabStripPrefs(PrefService* pref); |
| 28 |
24 } // namespace chrome | 29 } // namespace chrome |
25 | 30 |
26 #endif // CHROME_BROWSER_UI_BROWSER_VIEW_PREFS_H_ | 31 #endif // CHROME_BROWSER_UI_BROWSER_VIEW_PREFS_H_ |
OLD | NEW |