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

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

Issue 56623005: Policy providers all get a SchemaRegistry to work with. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@chrome-policy-schema-9-purge-with-callback
Patch Set: rebase Created 7 years, 1 month 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
« no previous file with comments | « chrome/browser/policy/policy_service.h ('k') | chrome/browser/policy/policy_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/policy_service_impl.h
diff --git a/chrome/browser/policy/policy_service_impl.h b/chrome/browser/policy/policy_service_impl.h
index 51716f293d2b08f68ee202e2302d4916919cdba0..681757451f1c978b95d890042a6bb5b548c16387 100644
--- a/chrome/browser/policy/policy_service_impl.h
+++ b/chrome/browser/policy/policy_service_impl.h
@@ -38,12 +38,8 @@ class PolicyServiceImpl : public PolicyService,
PolicyService::Observer* observer) OVERRIDE;
virtual void RemoveObserver(PolicyDomain domain,
PolicyService::Observer* observer) OVERRIDE;
- virtual void RegisterPolicyDomain(
- scoped_refptr<const PolicyDomainDescriptor> descriptor) OVERRIDE;
virtual const PolicyMap& GetPolicies(
const PolicyNamespace& ns) const OVERRIDE;
- virtual scoped_refptr<const PolicyDomainDescriptor> GetPolicyDomainDescriptor(
- PolicyDomain domain) const OVERRIDE;
virtual bool IsInitializationComplete(PolicyDomain domain) const OVERRIDE;
virtual void RefreshPolicies(const base::Closure& callback) OVERRIDE;
@@ -77,10 +73,6 @@ class PolicyServiceImpl : public PolicyService,
// Maps each policy namespace to its current policies.
PolicyBundle policy_bundle_;
- // Maps each policy domain to its current descriptor.
- scoped_refptr<const PolicyDomainDescriptor>
- domain_descriptors_[POLICY_DOMAIN_SIZE];
-
// Maps each policy domain to its observer list.
ObserverMap observers_;
« no previous file with comments | « chrome/browser/policy/policy_service.h ('k') | chrome/browser/policy/policy_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698