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 d8c57399bf12ae879b0993ad548cbf8a4c2e9868..a9bf424fbd62caa192fb44a1c728a25381a8588d 100644 |
--- a/chrome/browser/chromeos/settings/device_settings_cache.cc |
+++ b/chrome/browser/chromeos/settings/device_settings_cache.cc |
@@ -10,6 +10,7 @@ |
#include "base/bind.h" |
#include "chrome/browser/chromeos/settings/cros_settings.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/common/pref_names.h" |
@@ -19,8 +20,8 @@ namespace chromeos { |
namespace device_settings_cache { |
-void RegisterPrefs(PrefServiceSimple* local_state) { |
- local_state->RegisterStringPref(prefs::kDeviceSettingsCache, "invalid"); |
+void RegisterPrefs(PrefRegistrySimple* registry) { |
+ registry->RegisterStringPref(prefs::kDeviceSettingsCache, "invalid"); |
} |
bool Store(const em::PolicyData& policy, PrefService* local_state) { |