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

Unified Diff: chrome/browser/chromeos/login/wallpaper_manager.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/wallpaper_manager.cc
diff --git a/chrome/browser/chromeos/login/wallpaper_manager.cc b/chrome/browser/chromeos/login/wallpaper_manager.cc
index 8d89e77210248bfa795612505f09a289b8288503..eb8044dc730f30d081d2add464cc32a26cbaeedd 100644
--- a/chrome/browser/chromeos/login/wallpaper_manager.cc
+++ b/chrome/browser/chromeos/login/wallpaper_manager.cc
@@ -123,13 +123,10 @@ WallpaperManager::WallpaperManager()
}
// static
-void WallpaperManager::RegisterPrefs(PrefService* local_state) {
- local_state->RegisterDictionaryPref(prefs::kUsersWallpaperInfo,
- PrefService::UNSYNCABLE_PREF);
- local_state->RegisterDictionaryPref(kUserWallpapers,
- PrefService::UNSYNCABLE_PREF);
- local_state->RegisterDictionaryPref(kUserWallpapersProperties,
- PrefService::UNSYNCABLE_PREF);
+void WallpaperManager::RegisterPrefs(PrefServiceSimple* local_state) {
+ local_state->RegisterDictionaryPref(prefs::kUsersWallpaperInfo);
+ local_state->RegisterDictionaryPref(kUserWallpapers);
+ local_state->RegisterDictionaryPref(kUserWallpapersProperties);
}
void WallpaperManager::AddObservers() {

Powered by Google App Engine
This is Rietveld 408576698