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

Unified Diff: chrome/browser/profiles/profile_manager.cc

Issue 6905044: Refactor preference syncing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + comments 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/profiles/profile_manager.cc
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
index 48fecbbfc75b86c7f411243a7e8f44daf166e8f7..b8ee4a06812336e188479112df57239c88f8b1a3 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -499,7 +499,12 @@ void ProfileManager::CreateMultiProfileAsync() {
// static
void ProfileManager::RegisterPrefs(PrefService* prefs) {
- prefs->RegisterStringPref(prefs::kProfileLastUsed, "");
- prefs->RegisterDictionaryPref(prefs::kProfileDirectoryMap);
- prefs->RegisterIntegerPref(prefs::kProfilesNumCreated, 1);
+ prefs->RegisterStringPref(prefs::kProfileLastUsed,
+ "",
+ false /* don't sync pref */);
+ prefs->RegisterDictionaryPref(prefs::kProfileDirectoryMap,
+ false /* don't sync pref */);
+ prefs->RegisterIntegerPref(prefs::kProfilesNumCreated,
+ 1,
+ false /* don't sync pref */);
}

Powered by Google App Engine
This is Rietveld 408576698