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

Unified Diff: chrome/browser/policy/cloud_policy_subsystem.h

Issue 7014036: Split the policy refresh rate preference into user- and device-policy refresh rate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address feedback by mnissler. Created 9 years, 7 months 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.h
diff --git a/chrome/browser/policy/cloud_policy_subsystem.h b/chrome/browser/policy/cloud_policy_subsystem.h
index f15142b73f2580f99d9f0f0f1e68eaf6dae62795..ca8655667805c40d7fd0f2550f21b326882f96f7 100644
--- a/chrome/browser/policy/cloud_policy_subsystem.h
+++ b/chrome/browser/policy/cloud_policy_subsystem.h
@@ -80,7 +80,7 @@ class CloudPolicySubsystem
virtual void OnIPAddressChanged() OVERRIDE;
// Initializes the subsystem.
- void Initialize(PrefService* prefs,
+ void Initialize(const char* refresh_pref_name,
net::URLRequestContextGetter* request_context);
// Shuts the subsystem down. This must be called before threading and network
@@ -115,9 +115,6 @@ class CloudPolicySubsystem
const NotificationSource& source,
const NotificationDetails& details);
- // The pref service that controls the refresh rate.
- PrefService* prefs_;
-
// Tracks the pref value for the policy refresh rate.
IntegerPrefMember policy_refresh_rate_;

Powered by Google App Engine
This is Rietveld 408576698