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 6b752e14f0e57675ae11c251ec2e0903d428bfb3..44459eb22a994b12181ae8073c312f574e786d8f 100644 |
--- a/chrome/browser/policy/configuration_policy_pref_store.h |
+++ b/chrome/browser/policy/configuration_policy_pref_store.h |
@@ -17,8 +17,6 @@ |
#include "chrome/browser/policy/configuration_policy_store_interface.h" |
#include "chrome/common/pref_store.h" |
-class Profile; |
- |
namespace policy { |
class ConfigurationPolicyPrefKeeper; |
@@ -50,8 +48,7 @@ class ConfigurationPolicyPrefStore |
static ConfigurationPolicyPrefStore* CreateManagedPlatformPolicyPrefStore(); |
// Creates a ConfigurationPolicyPrefStore that reads managed cloud policy. |
- static ConfigurationPolicyPrefStore* CreateManagedCloudPolicyPrefStore( |
- Profile* profile); |
+ static ConfigurationPolicyPrefStore* CreateManagedCloudPolicyPrefStore(); |
// Creates a ConfigurationPolicyPrefStore that reads recommended platform |
// policy. |
@@ -59,13 +56,15 @@ class ConfigurationPolicyPrefStore |
CreateRecommendedPlatformPolicyPrefStore(); |
// Creates a ConfigurationPolicyPrefStore that reads recommended cloud policy. |
- static ConfigurationPolicyPrefStore* CreateRecommendedCloudPolicyPrefStore( |
- Profile* profile); |
+ static ConfigurationPolicyPrefStore* CreateRecommendedCloudPolicyPrefStore(); |
// Returns the default policy definition list for Chrome. |
static const ConfigurationPolicyProvider::PolicyDefinitionList* |
GetChromePolicyDefinitionList(); |
+ // Returns true if the given policy is a proxy policy. |
+ static bool IsProxyPolicy(ConfigurationPolicyType policy); |
+ |
private: |
explicit ConfigurationPolicyPrefStore(ConfigurationPolicyProvider* provider); |