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

Unified Diff: chrome/browser/chromeos/login/user_manager_impl.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/chromeos/login/user_manager_impl.cc
diff --git a/chrome/browser/chromeos/login/user_manager_impl.cc b/chrome/browser/chromeos/login/user_manager_impl.cc
index 963d2eb23dffb080713826cd801dadcc69d3476a..aa4c14cdc6b599cc1224e43f34a1ade2a875d852 100644
--- a/chrome/browser/chromeos/login/user_manager_impl.cc
+++ b/chrome/browser/chromeos/login/user_manager_impl.cc
@@ -148,17 +148,13 @@ bool ParseUserList(const ListValue& users_list,
} // namespace
// static
-void UserManager::RegisterPrefs(PrefService* local_state) {
- local_state->RegisterListPref(kRegularUsers, PrefService::UNSYNCABLE_PREF);
- local_state->RegisterListPref(kPublicAccounts, PrefService::UNSYNCABLE_PREF);
- local_state->RegisterStringPref(kPublicAccountPendingDataRemoval, "",
- PrefService::UNSYNCABLE_PREF);
- local_state->RegisterDictionaryPref(kUserOAuthTokenStatus,
- PrefService::UNSYNCABLE_PREF);
- local_state->RegisterDictionaryPref(kUserDisplayName,
- PrefService::UNSYNCABLE_PREF);
- local_state->RegisterDictionaryPref(kUserDisplayEmail,
- PrefService::UNSYNCABLE_PREF);
+void UserManager::RegisterPrefs(PrefServiceSimple* local_state) {
+ local_state->RegisterListPref(kRegularUsers);
+ local_state->RegisterListPref(kPublicAccounts);
+ local_state->RegisterStringPref(kPublicAccountPendingDataRemoval, "");
+ local_state->RegisterDictionaryPref(kUserOAuthTokenStatus);
+ local_state->RegisterDictionaryPref(kUserDisplayName);
+ local_state->RegisterDictionaryPref(kUserDisplayEmail);
SessionLengthLimiter::RegisterPrefs(local_state);
}
« no previous file with comments | « chrome/browser/chromeos/login/user_manager.h ('k') | chrome/browser/chromeos/login/user_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698