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

Unified Diff: chrome/browser/chromeos/login/user_image_manager_impl.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. 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_image_manager_impl.cc
diff --git a/chrome/browser/chromeos/login/user_image_manager_impl.cc b/chrome/browser/chromeos/login/user_image_manager_impl.cc
index a30e4113e87752f0da1981503bca79f191fbba18..31167464284f4f153b9e42a0fdecb88ce486c95c 100644
--- a/chrome/browser/chromeos/login/user_image_manager_impl.cc
+++ b/chrome/browser/chromeos/login/user_image_manager_impl.cc
@@ -169,11 +169,9 @@ int UserImageManagerImpl::user_image_migration_delay_sec =
kUserImageMigrationDelaySec;
// static
-void UserImageManager::RegisterPrefs(PrefService* local_state) {
- local_state->RegisterDictionaryPref(kUserImages,
- PrefService::UNSYNCABLE_PREF);
- local_state->RegisterDictionaryPref(kUserImageProperties,
- PrefService::UNSYNCABLE_PREF);
+void UserImageManager::RegisterPrefs(PrefServiceSimple* local_state) {
+ local_state->RegisterDictionaryPref(kUserImages);
+ local_state->RegisterDictionaryPref(kUserImageProperties);
}
UserImageManagerImpl::UserImageManagerImpl()

Powered by Google App Engine
This is Rietveld 408576698