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

Unified Diff: chrome/browser/policy/profile_policy_connector.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: Temporarily added user policy refresh rate to both local_state and profile prefs. Rebased. 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/profile_policy_connector.h
diff --git a/chrome/browser/policy/profile_policy_connector.h b/chrome/browser/policy/profile_policy_connector.h
index 4fc572b113efdf278a41258c0d8e080787e781c2..79fcebf346eda736eb9d42a8dba38f34dceb0488 100644
--- a/chrome/browser/policy/profile_policy_connector.h
+++ b/chrome/browser/policy/profile_policy_connector.h
@@ -10,8 +10,10 @@
#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
#include "chrome/browser/policy/configuration_policy_provider.h"
+#include "chrome/browser/prefs/pref_change_registrar.h"
#include "chrome/browser/profiles/profile_keyed_service.h"
Mattias Nissler (ping if slow) 2011/05/31 12:35:53 excess whitespace
sfeuz 2011/05/31 12:52:18 Done.
+
class Profile;
namespace policy {
@@ -56,6 +58,9 @@ class ProfilePolicyConnector : public ProfileKeyedService {
scoped_ptr<ConfigurationPolicyProvider> managed_cloud_provider_;
scoped_ptr<ConfigurationPolicyProvider> recommended_cloud_provider_;
+ // Temporarily needed until we can serve user policy to local state.
+ PrefChangeRegistrar profile_pref_registrar_;
+
DISALLOW_COPY_AND_ASSIGN(ProfilePolicyConnector);
};

Powered by Google App Engine
This is Rietveld 408576698