Chromium Code Reviews| Index: components/policy/core/common/schema.h |
| diff --git a/components/policy/core/common/schema.h b/components/policy/core/common/schema.h |
| index 82ee38fca63ee7d3a8f74512a2e0cd30b5332815..c711377cb8bcf32b8cd5ed8a50f8030982027dba 100644 |
| --- a/components/policy/core/common/schema.h |
| +++ b/components/policy/core/common/schema.h |
| @@ -148,6 +148,10 @@ class POLICY_EXPORT Schema { |
| // property name then the returned Schema is not valid. |
| Schema GetKnownProperty(const std::string& key) const; |
| + // Returns the Schema for pattern properties. If there are no matched |
| + // pattern properties for |key| then the returned Schema is not valid. |
| + Schema GetPatternProperty(const std::string& key) const; |
|
Joao da Silva
2014/03/21 12:58:12
This should return a vector of Schemas, with all t
binjin
2014/04/01 12:29:36
Done.
|
| + |
| // Returns the Schema for additional properties. If additional properties are |
| // not allowed for this Schema then the Schema returned is not valid. |
| Schema GetAdditionalProperties() const; |