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

Side by Side Diff: chrome/common/json_schema_constants.cc

Issue 12886024: Move JSON schema validator code into its own directory in chrome/common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
« no previous file with comments | « chrome/common/json_schema_constants.h ('k') | chrome/common/json_schema_validator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/common/json_schema_constants.h"
6
7 namespace json_schema_constants {
8
9 const char kAdditionalProperties[] = "additionalProperties";
10 const char kAny[] = "any";
11 const char kArray[] = "array";
12 const char kBoolean[] = "boolean";
13 const char kChoices[] = "choices";
14 const char kEnum[] = "enum";
15 const char kId[] = "id";
16 const char kInteger[] = "integer";
17 const char kItems[] = "items";
18 const char kMaximum[] = "maximum";
19 const char kMaxItems[] = "maxItems";
20 const char kMaxLength[] = "maxLength";
21 const char kMinimum[] = "minimum";
22 const char kMinItems[] = "minItems";
23 const char kMinLength[] = "minLength";
24 const char kNull[] = "null";
25 const char kNumber[] = "number";
26 const char kObject[] = "object";
27 const char kOptional[] = "optional";
28 const char kPattern[] = "pattern";
29 const char kProperties[] = "properties";
30 const char kRef[] = "$ref";
31 const char kString[] = "string";
32 const char kType[] = "type";
33
34 } // namespace json_schema_constants
OLDNEW
« no previous file with comments | « chrome/common/json_schema_constants.h ('k') | chrome/common/json_schema_validator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698