Index: chrome/browser/policy/policy_service.h |
diff --git a/chrome/browser/policy/policy_service.h b/chrome/browser/policy/policy_service.h |
index b6c6c0e6ca418241d874efec99270c03a6e276c0..ec4dc923dad1690f7d6825377ff93f112723ff08 100644 |
--- a/chrome/browser/policy/policy_service.h |
+++ b/chrome/browser/policy/policy_service.h |
@@ -16,8 +16,6 @@ |
namespace policy { |
-class PolicyDomainDescriptor; |
- |
// The PolicyService merges policies from all available sources, taking into |
// account their priorities. Policy clients can retrieve policy for their domain |
// and register for notifications on policy updates. |
@@ -54,21 +52,8 @@ class PolicyService { |
virtual void RemoveObserver(PolicyDomain domain, Observer* observer) = 0; |
- // Registers the |descriptor| of a policy domain, indicated by |
- // |descriptor->domain()|. This overrides the descriptor previously set, if |
- // there was one. |
- // This registration signals that there is interest in receiving policy for |
- // the components listed in the descriptor. The policy providers will try to |
- // load policy for these components, and validate it against the descriptor. |
- // Cached data for components that aren't registered anymore may be dropped. |
- virtual void RegisterPolicyDomain( |
- scoped_refptr<const PolicyDomainDescriptor> descriptor) = 0; |
- |
virtual const PolicyMap& GetPolicies(const PolicyNamespace& ns) const = 0; |
- virtual scoped_refptr<const PolicyDomainDescriptor> GetPolicyDomainDescriptor( |
- PolicyDomain domain) const = 0; |
- |
// The PolicyService loads policy from several sources, and some require |
// asynchronous loads. IsInitializationComplete() returns true once all |
// sources have loaded their policies for the given |domain|. |