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

Unified Diff: chrome/browser/policy/auto_enrollment_client.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/policy/auto_enrollment_client.cc
diff --git a/chrome/browser/policy/auto_enrollment_client.cc b/chrome/browser/policy/auto_enrollment_client.cc
index ae8affb037d14645d307371d37963318208a5378..fae76655ad4ecb88e1745fe6484ac3723e02ca0f 100644
--- a/chrome/browser/policy/auto_enrollment_client.cc
+++ b/chrome/browser/policy/auto_enrollment_client.cc
@@ -92,13 +92,9 @@ AutoEnrollmentClient::AutoEnrollmentClient(const base::Closure& callback,
AutoEnrollmentClient::~AutoEnrollmentClient() {}
// static
-void AutoEnrollmentClient::RegisterPrefs(PrefService* local_state) {
- local_state->RegisterBooleanPref(prefs::kShouldAutoEnroll,
- false,
- PrefService::UNSYNCABLE_PREF);
- local_state->RegisterIntegerPref(prefs::kAutoEnrollmentPowerLimit,
- -1,
- PrefService::UNSYNCABLE_PREF);
+void AutoEnrollmentClient::RegisterPrefs(PrefServiceSimple* local_state) {
+ local_state->RegisterBooleanPref(prefs::kShouldAutoEnroll, false);
+ local_state->RegisterIntegerPref(prefs::kAutoEnrollmentPowerLimit, -1);
}
// static
« no previous file with comments | « chrome/browser/policy/auto_enrollment_client.h ('k') | chrome/browser/policy/auto_enrollment_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698