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 fae76655ad4ecb88e1745fe6484ac3723e02ca0f..2c8294fa4dcd9ee87865f53d797dbd9fa4b529e9 100644 |
--- a/chrome/browser/policy/auto_enrollment_client.cc |
+++ b/chrome/browser/policy/auto_enrollment_client.cc |
@@ -16,6 +16,7 @@ |
#include "chrome/browser/policy/browser_policy_connector.h" |
#include "chrome/browser/policy/device_cloud_policy_manager_chromeos.h" |
#include "chrome/browser/policy/device_management_service.h" |
+#include "chrome/browser/prefs/pref_registry_simple.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/pref_names.h" |
@@ -92,9 +93,9 @@ AutoEnrollmentClient::AutoEnrollmentClient(const base::Closure& callback, |
AutoEnrollmentClient::~AutoEnrollmentClient() {} |
// static |
-void AutoEnrollmentClient::RegisterPrefs(PrefServiceSimple* local_state) { |
- local_state->RegisterBooleanPref(prefs::kShouldAutoEnroll, false); |
- local_state->RegisterIntegerPref(prefs::kAutoEnrollmentPowerLimit, -1); |
+void AutoEnrollmentClient::RegisterPrefs(PrefRegistrySimple* registry) { |
+ registry->RegisterBooleanPref(prefs::kShouldAutoEnroll, false); |
+ registry->RegisterIntegerPref(prefs::kAutoEnrollmentPowerLimit, -1); |
} |
// static |