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

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: 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..1204b2957107da5b6bfe4f02588f6b8d8163a543 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* policy_refresh_name,
Mattias Nissler (ping if slow) 2011/05/13 09:45:03 it's not a policy name but a pref name.
sfeuz 2011/05/17 14:27:42 Done.
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