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

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

Issue 22493010: policy: load JSON schema into domain descriptor at start time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comments and clean up includes Created 7 years, 3 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/policy_service.h
diff --git a/chrome/browser/policy/policy_service.h b/chrome/browser/policy/policy_service.h
index 1d8d13554bd21e210480789e1f230c82fadc9475..53355fb80ddd6cd656f264af1393d691f2cc7505 100644
--- a/chrome/browser/policy/policy_service.h
+++ b/chrome/browser/policy/policy_service.h
@@ -96,6 +96,10 @@ class PolicyService {
virtual void RegisterPolicyDomain(
scoped_refptr<const PolicyDomainDescriptor> descriptor) = 0;
+ // Registers a policy domain without triggering a policy load.
+ virtual void InitialRegisterPolicyDomain(
+ scoped_refptr<const PolicyDomainDescriptor> descriptor) = 0;
+
virtual const PolicyMap& GetPolicies(const PolicyNamespace& ns) const = 0;
virtual scoped_refptr<const PolicyDomainDescriptor> GetPolicyDomainDescriptor(

Powered by Google App Engine
This is Rietveld 408576698