Chromium Code Reviews| Index: components/policy/core/common/schema.cc |
| diff --git a/components/policy/core/common/schema.cc b/components/policy/core/common/schema.cc |
| index 7eedffd0c61a318df2d5fddaed494d4d9f1202e0..3508f21fcbe13074a5f69ff64937e69b404c88ff 100644 |
| --- a/components/policy/core/common/schema.cc |
| +++ b/components/policy/core/common/schema.cc |
| @@ -1109,4 +1109,8 @@ bool Schema::ValidateStringRestriction(int index, const char* str) const { |
| } |
| } |
| +bool Schema::valid() const { |
| + return node_ != NULL; |
| +} |
| + |
| } // namespace policy |