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

Unified Diff: chrome/browser/chromeos/power/session_length_limiter.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. 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/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 d55f9009187f78e89556a1f15518e4fe975c35a4..8a716bc9b34a01cbd2a2b919c8336521a8299881 100644
--- a/chrome/browser/chromeos/power/session_length_limiter.cc
+++ b/chrome/browser/chromeos/power/session_length_limiter.cc
@@ -65,13 +65,9 @@ SessionLengthLimiter::Delegate::~Delegate() {
}
// static
-void SessionLengthLimiter::RegisterPrefs(PrefService* local_state) {
- local_state->RegisterInt64Pref(prefs::kSessionStartTime,
- 0,
- PrefService::UNSYNCABLE_PREF);
- local_state->RegisterIntegerPref(prefs::kSessionLengthLimit,
- 0,
- PrefService::UNSYNCABLE_PREF);
+void SessionLengthLimiter::RegisterPrefs(PrefServiceSimple* local_state) {
+ local_state->RegisterInt64Pref(prefs::kSessionStartTime, 0);
+ local_state->RegisterIntegerPref(prefs::kSessionLengthLimit, 0);
}
SessionLengthLimiter::SessionLengthLimiter(Delegate* delegate,

Powered by Google App Engine
This is Rietveld 408576698