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

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

Issue 6905044: Refactor preference syncing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review Created 9 years, 8 months 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/tabs/pinned_tab_codec.cc
diff --git a/chrome/browser/tabs/pinned_tab_codec.cc b/chrome/browser/tabs/pinned_tab_codec.cc
index bf53a4cc9f1e4c733077cf5f6edb94f1e20f536d..3d305b20c5384240b0e6edd0ba112f8fcad5377a 100644
--- a/chrome/browser/tabs/pinned_tab_codec.cc
+++ b/chrome/browser/tabs/pinned_tab_codec.cc
@@ -89,7 +89,7 @@ static bool DecodeTab(const DictionaryValue& value, Tab* tab) {
// static
void PinnedTabCodec::RegisterUserPrefs(PrefService* prefs) {
- prefs->RegisterListPref(prefs::kPinnedTabs);
+ prefs->RegisterListPref(prefs::kPinnedTabs, false /* don't sync pref */);
}
// static

Powered by Google App Engine
This is Rietveld 408576698