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

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

Issue 7096013: Allow device policy code to be optionally included. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make changes requested by torne. 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/configuration_policy_pref_store.h
diff --git a/chrome/browser/policy/configuration_policy_pref_store.h b/chrome/browser/policy/configuration_policy_pref_store.h
index 784a7ec8eab9a1f97eb3ee7e89a9a5c760c42da0..6b752e14f0e57675ae11c251ec2e0903d428bfb3 100644
--- a/chrome/browser/policy/configuration_policy_pref_store.h
+++ b/chrome/browser/policy/configuration_policy_pref_store.h
@@ -31,7 +31,8 @@ class ConfigurationPolicyPrefStore
public:
// The ConfigurationPolicyPrefStore does not take ownership of the
// passed-in |provider|.
- explicit ConfigurationPolicyPrefStore(ConfigurationPolicyProvider* provider);
+ static ConfigurationPolicyPrefStore* Create(
+ ConfigurationPolicyProvider* provider);
virtual ~ConfigurationPolicyPrefStore();
// PrefStore methods:
@@ -66,6 +67,8 @@ class ConfigurationPolicyPrefStore
GetChromePolicyDefinitionList();
private:
+ explicit ConfigurationPolicyPrefStore(ConfigurationPolicyProvider* provider);
+
// Refreshes policy information, rereading policy from the provider and
// sending out change notifications as appropriate.
void Refresh();
« no previous file with comments | « chrome/browser/policy/browser_policy_connector.cc ('k') | chrome/browser/policy/configuration_policy_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698