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

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: Merge to head again, previous had unrelated broken win_rel test. 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..472c2dd2135ac0ed8cd84bee32f18228ff7a67b7 100644
--- a/chrome/browser/policy/policy_statistics_collector.cc
+++ b/chrome/browser/policy/policy_statistics_collector.cc
@@ -49,9 +49,8 @@ void PolicyStatisticsCollector::Initialize() {
}
// static
-void PolicyStatisticsCollector::RegisterPrefs(PrefService* prefs) {
- prefs->RegisterInt64Pref(prefs::kLastPolicyStatisticsUpdate, 0,
- PrefService::UNSYNCABLE_PREF);
+void PolicyStatisticsCollector::RegisterPrefs(PrefServiceSimple* prefs) {
+ prefs->RegisterInt64Pref(prefs::kLastPolicyStatisticsUpdate, 0);
}
void PolicyStatisticsCollector::RecordPolicyUse(int id) {
« no previous file with comments | « chrome/browser/policy/policy_statistics_collector.h ('k') | chrome/browser/policy/policy_statistics_collector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698