OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_JSON_SCHEMA_JSON_SCHEMA_VALIDATOR_H_ | 5 #ifndef COMPONENTS_JSON_SCHEMA_JSON_SCHEMA_VALIDATOR_H_ |
6 #define COMPONENTS_JSON_SCHEMA_JSON_SCHEMA_VALIDATOR_H_ | 6 #define COMPONENTS_JSON_SCHEMA_JSON_SCHEMA_VALIDATOR_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class DictionaryValue; | 16 class DictionaryValue; |
17 class ListValue; | 17 class ListValue; |
18 class StringValue; | 18 class StringValue; |
19 class Value; | 19 class Value; |
20 } | 20 } |
21 | 21 |
22 //============================================================================== | 22 //============================================================================== |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 bool default_allow_additional_properties_; | 245 bool default_allow_additional_properties_; |
246 | 246 |
247 // Errors accumulated since the last call to Validate(). | 247 // Errors accumulated since the last call to Validate(). |
248 std::vector<Error> errors_; | 248 std::vector<Error> errors_; |
249 | 249 |
250 | 250 |
251 DISALLOW_COPY_AND_ASSIGN(JSONSchemaValidator); | 251 DISALLOW_COPY_AND_ASSIGN(JSONSchemaValidator); |
252 }; | 252 }; |
253 | 253 |
254 #endif // COMPONENTS_JSON_SCHEMA_JSON_SCHEMA_VALIDATOR_H_ | 254 #endif // COMPONENTS_JSON_SCHEMA_JSON_SCHEMA_VALIDATOR_H_ |
OLD | NEW |