Index: chrome/browser/devtools/devtools_window.cc |
diff --git a/chrome/browser/devtools/devtools_window.cc b/chrome/browser/devtools/devtools_window.cc |
index 18d33ad9072a27733965d3b0cd45cca87dd09ecf..706d2a993c9125b27e3c2897b91a3067f00baa34 100644 |
--- a/chrome/browser/devtools/devtools_window.cc |
+++ b/chrome/browser/devtools/devtools_window.cc |
@@ -87,15 +87,15 @@ const int kMinDevToolsWidth = 150; |
const int kMinContentsSize = 50; |
// static |
-void DevToolsWindow::RegisterUserPrefs(PrefService* prefs) { |
+void DevToolsWindow::RegisterUserPrefs(PrefServiceSyncable* prefs) { |
prefs->RegisterBooleanPref(prefs::kDevToolsOpenDocked, |
true, |
- PrefService::UNSYNCABLE_PREF); |
+ PrefServiceSyncable::UNSYNCABLE_PREF); |
prefs->RegisterStringPref(prefs::kDevToolsDockSide, |
kDockSideBottom, |
- PrefService::UNSYNCABLE_PREF); |
+ PrefServiceSyncable::UNSYNCABLE_PREF); |
prefs->RegisterDictionaryPref(prefs::kDevToolsEditedFiles, |
- PrefService::UNSYNCABLE_PREF); |
+ PrefServiceSyncable::UNSYNCABLE_PREF); |
} |
// static |
@@ -376,9 +376,10 @@ void DevToolsWindow::CreateDevToolsBrowser() { |
wp_key.append("_"); |
wp_key.append(kDevToolsApp); |
- PrefService* prefs = profile_->GetPrefs(); |
+ PrefServiceSyncable* prefs = profile_->GetPrefs(); |
if (!prefs->FindPreference(wp_key.c_str())) { |
- prefs->RegisterDictionaryPref(wp_key.c_str(), PrefService::UNSYNCABLE_PREF); |
+ prefs->RegisterDictionaryPref(wp_key.c_str(), |
+ PrefServiceSyncable::UNSYNCABLE_PREF); |
} |
const DictionaryValue* wp_pref = prefs->GetDictionary(wp_key.c_str()); |