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

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

Issue 22645011: policy: use JSON schema to deserialize entries from Windows registry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 3rd party policy unit tests 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_domain_descriptor.h
diff --git a/chrome/browser/policy/policy_domain_descriptor.h b/chrome/browser/policy/policy_domain_descriptor.h
index daa3d565e4ed148f82c6e3743d4c5230f45c01d3..e5721f69bdafd7fa47c08589946d63c6bc097a01 100644
--- a/chrome/browser/policy/policy_domain_descriptor.h
+++ b/chrome/browser/policy/policy_domain_descriptor.h
@@ -29,6 +29,7 @@ class PolicyDomainDescriptor
PolicyDomain domain() const { return domain_; }
const SchemaMap& components() const { return schema_map_; }
+ const PolicySchema* get_schema(const std::string& component) const;
// Registers the given |component_id| for this domain, and sets its current
// |schema|. This registration overrides any previously set schema for this
« no previous file with comments | « chrome/browser/policy/configuration_policy_provider_test.cc ('k') | chrome/browser/policy/policy_domain_descriptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698