Index: components/policy/core/common/schema.h |
diff --git a/components/policy/core/common/schema.h b/components/policy/core/common/schema.h |
index f0434d3cd84c18563d1e15485ef5ee21d3ac3265..e7f624b198ceadc086ebf0b3e07746a3e4fcf5dc 100644 |
--- a/components/policy/core/common/schema.h |
+++ b/components/policy/core/common/schema.h |
@@ -56,6 +56,9 @@ class POLICY_EXPORT Schema { |
base::Value::Type type() const; |
+ // Returns true if |value| conforms to this Schema. |
+ bool Matches(const base::Value& value) const; |
dconnelly
2013/10/31 10:04:16
nit: I think the word "validate" is the generally
Joao da Silva
2013/10/31 13:34:56
Done.
|
+ |
// Used to iterate over the known properties of TYPE_DICTIONARY schemas. |
class POLICY_EXPORT Iterator { |
public: |