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