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

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

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: WIP, latest changes from kaiwang@ 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/pinned_tab_codec.cc
diff --git a/chrome/browser/ui/tabs/pinned_tab_codec.cc b/chrome/browser/ui/tabs/pinned_tab_codec.cc
index 458952131001116ae92b9cdf4270d59a6964c95e..10903d684257e6e3e713853e4bab9d3eb39b731c 100644
--- a/chrome/browser/ui/tabs/pinned_tab_codec.cc
+++ b/chrome/browser/ui/tabs/pinned_tab_codec.cc
@@ -99,8 +99,9 @@ static bool DecodeTab(const DictionaryValue& value, StartupTab* tab) {
}
// static
-void PinnedTabCodec::RegisterUserPrefs(PrefService* prefs) {
- prefs->RegisterListPref(prefs::kPinnedTabs, PrefService::UNSYNCABLE_PREF);
+void PinnedTabCodec::RegisterUserPrefs(PrefServiceSyncable* prefs) {
+ prefs->RegisterListPref(prefs::kPinnedTabs,
+ PrefServiceSyncable::UNSYNCABLE_PREF);
}
// static

Powered by Google App Engine
This is Rietveld 408576698