blob: 1259085bed4d1c3cbdf24062b2513a05d1c9a58a [file] [log] [blame]
[email protected]10951eb2012-05-08 22:12:511// 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
3// found in the LICENSE file.
4
5#ifndef CHROME_BROWSER_UI_BROWSER_VIEW_PREFS_H_
6#define CHROME_BROWSER_UI_BROWSER_VIEW_PREFS_H_
[email protected]10951eb2012-05-08 22:12:517
[email protected]b1de2c72013-02-06 02:45:478class PrefRegistrySimple;
[email protected]7f70e5f2014-05-29 19:28:169class PrefService;
[email protected]10951eb2012-05-08 22:12:5110
[email protected]af97be4c62014-02-13 14:43:3411namespace user_prefs {
12class PrefRegistrySyncable;
13}
14
[email protected]10951eb2012-05-08 22:12:5115// Register local state preferences specific to BrowserView.
[email protected]af97be4c62014-02-13 14:43:3416void RegisterBrowserViewLocalPrefs(PrefRegistrySimple* registry);
17
18// Register profile-specific preferences specific to BrowserView. These
19// preferences may be synced, depending on the pref's |sync_status| parameter.
20void RegisterBrowserViewProfilePrefs(
21 user_prefs::PrefRegistrySyncable* registry);
[email protected]10951eb2012-05-08 22:12:5122
[email protected]7f70e5f2014-05-29 19:28:1623// Converts deprecated int tabstrip layout type into a boolean value indicating
24// stacked layout preference.
25void MigrateBrowserTabStripPrefs(PrefService* pref);
26
[email protected]10951eb2012-05-08 22:12:5127#endif // CHROME_BROWSER_UI_BROWSER_VIEW_PREFS_H_