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

Unified Diff: chrome/browser/policy/policy_statistics_collector.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: WIP, latest changes from kaiwang@ 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/policy/policy_statistics_collector.cc
diff --git a/chrome/browser/policy/policy_statistics_collector.cc b/chrome/browser/policy/policy_statistics_collector.cc
index 3d01564d5cff2a3fbe53268bc9d14a9a770dfa8e..99fea753aa35d947da9de225d30e52e46e919d50 100644
--- a/chrome/browser/policy/policy_statistics_collector.cc
+++ b/chrome/browser/policy/policy_statistics_collector.cc
@@ -49,9 +49,9 @@ void PolicyStatisticsCollector::Initialize() {
}
// static
-void PolicyStatisticsCollector::RegisterPrefs(PrefService* prefs) {
+void PolicyStatisticsCollector::RegisterPrefs(PrefServiceSyncable* prefs) {
prefs->RegisterInt64Pref(prefs::kLastPolicyStatisticsUpdate, 0,
- PrefService::UNSYNCABLE_PREF);
+ PrefServiceSyncable::UNSYNCABLE_PREF);
}
void PolicyStatisticsCollector::RecordPolicyUse(int id) {

Powered by Google App Engine
This is Rietveld 408576698