Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: chrome/common/json_schema/json_schema_constants.h

Issue 14830007: Added a validator for JSON v3 schemas. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_COMMON_JSON_SCHEMA_JSON_SCHEMA_CONSTANTS_H_ 5 #ifndef CHROME_COMMON_JSON_SCHEMA_JSON_SCHEMA_CONSTANTS_H_
6 #define CHROME_COMMON_JSON_SCHEMA_JSON_SCHEMA_CONSTANTS_H_ 6 #define CHROME_COMMON_JSON_SCHEMA_JSON_SCHEMA_CONSTANTS_H_
7 7
8 // These constants are shared by code that uses JSON schemas. 8 // These constants are shared by code that uses JSON schemas.
9 namespace json_schema_constants { 9 namespace json_schema_constants {
10 10
(...skipping 10 matching lines...) Expand all
21 extern const char kMaxItems[]; 21 extern const char kMaxItems[];
22 extern const char kMaxLength[]; 22 extern const char kMaxLength[];
23 extern const char kMinimum[]; 23 extern const char kMinimum[];
24 extern const char kMinItems[]; 24 extern const char kMinItems[];
25 extern const char kMinLength[]; 25 extern const char kMinLength[];
26 extern const char kNull[]; 26 extern const char kNull[];
27 extern const char kNumber[]; 27 extern const char kNumber[];
28 extern const char kObject[]; 28 extern const char kObject[];
29 extern const char kOptional[]; 29 extern const char kOptional[];
30 extern const char kPattern[]; 30 extern const char kPattern[];
31 extern const char kPatternProperties[];
31 extern const char kProperties[]; 32 extern const char kProperties[];
32 extern const char kRef[]; 33 extern const char kRef[];
34 extern const char kSchema[];
33 extern const char kString[]; 35 extern const char kString[];
34 extern const char kType[]; 36 extern const char kType[];
35 37
36 } // namespace json_schema_constants 38 } // namespace json_schema_constants
37 39
38 #endif // CHROME_COMMON_JSON_SCHEMA_JSON_SCHEMA_CONSTANTS_H_ 40 #endif // CHROME_COMMON_JSON_SCHEMA_JSON_SCHEMA_CONSTANTS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/common/json_schema/json_schema_constants.cc » ('j') | chrome/common/json_schema/json_schema_validator.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698