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

Unified Diff: chrome/browser/policy/cloud_policy_subsystem.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/cloud_policy_subsystem.cc
diff --git a/chrome/browser/policy/cloud_policy_subsystem.cc b/chrome/browser/policy/cloud_policy_subsystem.cc
index 272ac06300493148b0652904d242f55646ec35cd..bb1689d36b01d8a7c99353e87274ad0a6973f193 100644
--- a/chrome/browser/policy/cloud_policy_subsystem.cc
+++ b/chrome/browser/policy/cloud_policy_subsystem.cc
@@ -143,13 +143,11 @@ void CloudPolicySubsystem::RefreshPolicies(bool wait_for_auth_token) {
}
// static
-void CloudPolicySubsystem::RegisterPrefs(PrefService* pref_service) {
+void CloudPolicySubsystem::RegisterPrefs(PrefServiceSimple* pref_service) {
pref_service->RegisterIntegerPref(prefs::kDevicePolicyRefreshRate,
- kDefaultPolicyRefreshRateMs,
- PrefService::UNSYNCABLE_PREF);
+ kDefaultPolicyRefreshRateMs);
pref_service->RegisterIntegerPref(prefs::kUserPolicyRefreshRate,
- kDefaultPolicyRefreshRateMs,
- PrefService::UNSYNCABLE_PREF);
+ kDefaultPolicyRefreshRateMs);
}
void CloudPolicySubsystem::UpdatePolicyRefreshRate(int64 refresh_rate) {
« no previous file with comments | « chrome/browser/policy/cloud_policy_subsystem.h ('k') | chrome/browser/policy/cloud_policy_subsystem_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698