Index: components/policy/core/common/schema.h |
diff --git a/components/policy/core/common/schema.h b/components/policy/core/common/schema.h |
index 10d8c3086939ba60d0d000921a4cbf63523644ed..91dc850087617be85cd1b0fcc23acba4a22f80f1 100644 |
--- a/components/policy/core/common/schema.h |
+++ b/components/policy/core/common/schema.h |
@@ -57,6 +57,9 @@ class POLICY_EXPORT Schema { |
base::Value::Type type() const; |
+ // Returns true if |value| conforms to this Schema. |
+ bool Validate(const base::Value& value) const; |
+ |
// Used to iterate over the known properties of TYPE_DICTIONARY schemas. |
class POLICY_EXPORT Iterator { |
public: |