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 d31e6facffbd24666bc73bf10601e370d91c0b95..35bccad9aa4f3069f3190be3a5011d7b3d408c9a 100644 |
--- a/chrome/browser/policy/profile_policy_connector.h |
+++ b/chrome/browser/policy/profile_policy_connector.h |
@@ -52,6 +52,10 @@ class ProfilePolicyConnector : public KeyedService { |
// cloud policy management. Otherwise returns an empty string. |
std::string GetManagementDomain() const; |
+ // Returns true if the |name| Chrome policy is currently set via the |
+ // CloudPolicyManager and isn't being overridden by a higher-level provider. |
+ bool IsPolicyFromCloudPolicy(const char* name) const; |
+ |
private: |
#if defined(ENABLE_CONFIGURATION_POLICY) |
#if defined(OS_CHROMEOS) |