Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_COMMON_JSON_SCHEMA_CONSTANTS_H_ | |
| 6 #define CHROME_COMMON_JSON_SCHEMA_CONSTANTS_H_ | |
| 7 | |
| 8 namespace json_schema_constants { | |
| 9 | |
| 10 extern const char kAdditionalProperties[]; | |
|
Aaron Boodman
2012/06/28 21:24:11
Did you consider just making these static fields o
Joao da Silva
2012/06/29 09:03:14
Yea, that was the first approach. But it became ug
| |
| 11 extern const char kAny[]; | |
| 12 extern const char kArray[]; | |
| 13 extern const char kBoolean[]; | |
| 14 extern const char kChoices[]; | |
| 15 extern const char kEnum[]; | |
| 16 extern const char kId[]; | |
| 17 extern const char kInteger[]; | |
| 18 extern const char kItems[]; | |
| 19 extern const char kMaximum[]; | |
| 20 extern const char kMaxItems[]; | |
| 21 extern const char kMaxLength[]; | |
| 22 extern const char kMinimum[]; | |
| 23 extern const char kMinItems[]; | |
| 24 extern const char kMinLength[]; | |
| 25 extern const char kNull[]; | |
| 26 extern const char kNumber[]; | |
| 27 extern const char kObject[]; | |
| 28 extern const char kOptional[]; | |
| 29 extern const char kPattern[]; | |
| 30 extern const char kProperties[]; | |
| 31 extern const char kRef[]; | |
| 32 extern const char kString[]; | |
| 33 extern const char kType[]; | |
| 34 | |
| 35 } // namespace json_schema_constants | |
| 36 | |
| 37 #endif // CHROME_COMMON_JSON_SCHEMA_CONSTANTS_H_ | |
| OLD | NEW |