Index: chrome/browser/chromeos/power/session_length_limiter.cc |
diff --git a/chrome/browser/chromeos/power/session_length_limiter.cc b/chrome/browser/chromeos/power/session_length_limiter.cc |
index 8a716bc9b34a01cbd2a2b919c8336521a8299881..7a879c563649deb18a623eb1515838c9d92ba801 100644 |
--- a/chrome/browser/chromeos/power/session_length_limiter.cc |
+++ b/chrome/browser/chromeos/power/session_length_limiter.cc |
@@ -13,6 +13,7 @@ |
#include "base/prefs/public/pref_service_base.h" |
#include "chrome/browser/browser_process.h" |
#include "chrome/browser/lifetime/application_lifetime.h" |
+#include "chrome/browser/prefs/pref_registry_simple.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/common/pref_names.h" |
@@ -65,9 +66,9 @@ SessionLengthLimiter::Delegate::~Delegate() { |
} |
// static |
-void SessionLengthLimiter::RegisterPrefs(PrefServiceSimple* local_state) { |
- local_state->RegisterInt64Pref(prefs::kSessionStartTime, 0); |
- local_state->RegisterIntegerPref(prefs::kSessionLengthLimit, 0); |
+void SessionLengthLimiter::RegisterPrefs(PrefRegistrySimple* registry) { |
+ registry->RegisterInt64Pref(prefs::kSessionStartTime, 0); |
+ registry->RegisterIntegerPref(prefs::kSessionLengthLimit, 0); |
} |
SessionLengthLimiter::SessionLengthLimiter(Delegate* delegate, |