Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4607)

Unified Diff: chrome/browser/ui/tabs/tab_strip_layout_type_prefs.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/tabs/tab_strip_layout_type_prefs.cc
diff --git a/chrome/browser/ui/tabs/tab_strip_layout_type_prefs.cc b/chrome/browser/ui/tabs/tab_strip_layout_type_prefs.cc
index 8362f20185cb8de94312a49dcff81c17b295f894..ef380d560bfcc569ed671a91d3ccace55f5126c9 100644
--- a/chrome/browser/ui/tabs/tab_strip_layout_type_prefs.cc
+++ b/chrome/browser/ui/tabs/tab_strip_layout_type_prefs.cc
@@ -10,9 +10,9 @@
namespace chrome {
-void RegisterTabStripLayoutTypePrefs(PrefService* prefs) {
+void RegisterTabStripLayoutTypePrefs(PrefServiceSimple* local_state) {
// This value is device dependant, so it goes in local state.
- prefs->RegisterIntegerPref(
+ local_state->RegisterIntegerPref(
prefs::kTabStripLayoutType,
static_cast<int>(TAB_STRIP_LAYOUT_SHRINK));
}
« no previous file with comments | « chrome/browser/ui/tabs/tab_strip_layout_type_prefs.h ('k') | chrome/browser/ui/views/browser_actions_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698