Index: chrome/browser/policy/device_status_collector.cc |
diff --git a/chrome/browser/policy/device_status_collector.cc b/chrome/browser/policy/device_status_collector.cc |
index 1917d0741dc0477c95350c1a944b5ee98194c713..4776b0427097295910ab098ed7742582f3c72c94 100644 |
--- a/chrome/browser/policy/device_status_collector.cc |
+++ b/chrome/browser/policy/device_status_collector.cc |
@@ -17,6 +17,7 @@ |
#include "chrome/browser/chromeos/settings/cros_settings_names.h" |
#include "chrome/browser/chromeos/system/statistics_provider.h" |
#include "chrome/browser/policy/proto/device_management_backend.pb.h" |
+#include "chrome/browser/prefs/pref_registry_simple.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/prefs/scoped_user_pref_update.h" |
#include "chrome/common/chrome_notification_types.h" |
@@ -152,11 +153,11 @@ DeviceStatusCollector::~DeviceStatusCollector() { |
} |
// static |
-void DeviceStatusCollector::RegisterPrefs(PrefServiceSimple* local_state) { |
- local_state->RegisterDictionaryPref(prefs::kDeviceActivityTimes, |
- new base::DictionaryValue); |
- local_state->RegisterDictionaryPref(prefs::kDeviceLocation, |
- new base::DictionaryValue); |
+void DeviceStatusCollector::RegisterPrefs(PrefRegistrySimple* registry) { |
+ registry->RegisterDictionaryPref(prefs::kDeviceActivityTimes, |
+ new base::DictionaryValue); |
+ registry->RegisterDictionaryPref(prefs::kDeviceLocation, |
+ new base::DictionaryValue); |
} |
void DeviceStatusCollector::CheckIdleState() { |