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

Unified Diff: chrome/browser/chromeos/settings/device_settings_cache.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/settings/device_settings_cache.cc
diff --git a/chrome/browser/chromeos/settings/device_settings_cache.cc b/chrome/browser/chromeos/settings/device_settings_cache.cc
index 178cbfbb8de9eb35ae3bc070d54b84b6c95bd1e0..d8c57399bf12ae879b0993ad548cbf8a4c2e9868 100644
--- a/chrome/browser/chromeos/settings/device_settings_cache.cc
+++ b/chrome/browser/chromeos/settings/device_settings_cache.cc
@@ -19,10 +19,8 @@ namespace chromeos {
namespace device_settings_cache {
-void RegisterPrefs(PrefService* local_state) {
- local_state->RegisterStringPref(prefs::kDeviceSettingsCache,
- "invalid",
- PrefService::UNSYNCABLE_PREF);
+void RegisterPrefs(PrefServiceSimple* local_state) {
+ local_state->RegisterStringPref(prefs::kDeviceSettingsCache, "invalid");
}
bool Store(const em::PolicyData& policy, PrefService* local_state) {

Powered by Google App Engine
This is Rietveld 408576698