Chromium Code Reviews| 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_TABS_TAB_STRIP_LAYOUT_TYPE_PREFS_H_ | 5 #ifndef CHROME_BROWSER_UI_TABS_TAB_STRIP_LAYOUT_TYPE_PREFS_H_ |
| 6 #define CHROME_BROWSER_UI_TABS_TAB_STRIP_LAYOUT_TYPE_PREFS_H_ | 6 #define CHROME_BROWSER_UI_TABS_TAB_STRIP_LAYOUT_TYPE_PREFS_H_ |
| 7 | 7 |
| 8 class PrefRegistrySimple; | 8 class PrefRegistrySimple; |
| 9 class PrefService; | |
| 9 | 10 |
| 10 namespace chrome { | 11 namespace chrome { |
| 12 namespace tab_strip_layout_type_prefs { | |
|
Peter Kasting
2014/05/23 22:38:43
Why do we need another namespace? We shouldn't ha
varkha
2014/05/23 22:50:56
Code moved so this namespace is not necessary.
| |
| 11 | 13 |
| 12 // Register local state preferences specific to the TabStrip. | 14 // Registers local state preferences specific to the TabStrip. |
| 13 void RegisterTabStripLayoutTypePrefs(PrefRegistrySimple* registry); | 15 void RegisterPrefs(PrefRegistrySimple* registry); |
| 14 | 16 |
| 17 // Converts possibly existing value for tabstrip layout type into a boolean | |
| 18 // value indicating stacked layout preference. | |
| 19 void MigratePrefs(PrefService* pref); | |
| 20 | |
| 21 } // namespace tab_strip_layout_type_prefs | |
| 15 } // namespace chrome | 22 } // namespace chrome |
| 16 | 23 |
| 17 #endif // CHROME_BROWSER_UI_TABS_TAB_STRIP_LAYOUT_TYPE_PREFS_H_ | 24 #endif // CHROME_BROWSER_UI_TABS_TAB_STRIP_LAYOUT_TYPE_PREFS_H_ |
| OLD | NEW |