summaryrefslogtreecommitdiffstats
path: root/components/json_schema
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup: json_schema_test.js now lives in extensions/test/data.tfarina2015-02-051-1/+1
| | | | | | | | | | | This fixes a TODO to point to the right path where this file now lives. BUG=None R=kalman@chromium.org Review URL: https://codereview.chromium.org/887273003 Cr-Commit-Position: refs/heads/master@{#314801}
* Standardize usage of virtual/override/final in components/dcheng2014-10-211-10/+10
| | | | | | | | | BUG=417463 TBR=blundell@chromium.org Review URL: https://codereview.chromium.org/666133002 Cr-Commit-Position: refs/heads/master@{#300456}
* replace OVERRIDE and FINAL with override and final in components/mostynb2014-10-061-2/+2
| | | | | | | | BUG=417463 Review URL: https://codereview.chromium.org/623133002 Cr-Commit-Position: refs/heads/master@{#298237}
* Change base/file_utils.h includes to base/files/file_utils.h in chrome_elf/ ↵thestig2014-09-101-1/+1
| | | | | | | | | | and components/ Also fix the formatting of chrome_elf/OWNERS Review URL: https://codereview.chromium.org/546733002 Cr-Commit-Position: refs/heads/master@{#294245}
* Remove koz from OWNERStapted@chromium.org2014-07-171-1/+0
| | | | | | | | | | | He's changing teams :'( NOTRY=true TBR=jochen@chromium.org Review URL: https://codereview.chromium.org/391293002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283620 0039d316-1c4b-4281-b951-d872f2087c98
* Add cloud_devices and json_schema to GN build.brettw@chromium.org2014-06-201-0/+17
| | | | | | | | | | | | These components are needed by chrome/common. This also adds a "components" meta-target to avoid listing all components in the root build file. TBR=blundell Review URL: https://codereview.chromium.org/344993002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278608 0039d316-1c4b-4281-b951-d872f2087c98
* Add regular expression support in json_schema componentbinjin@chromium.org2014-03-276-34/+161
| | | | | | | | | | Add support of "pattern" and "patternProperties" attribute into json_schema, with third_party/re2 as regular expression implementation. BUG=348551 Review URL: https://codereview.chromium.org/195193002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259943 0039d316-1c4b-4281-b951-d872f2087c98
* Add additional restriction to policy schema internal, includes modification ↵binjin@chromium.org2014-01-221-1/+4
| | | | | | | | | | to python generator and C++ parser with correspond unit tests. BUG=258339 Review URL: https://codereview.chromium.org/138003003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246266 0039d316-1c4b-4281-b951-d872f2087c98
* components: Remove 'ui' dependencies from json_schema and user_prefs targets.tfarina@chromium.org2013-12-161-1/+0
| | | | | | | | | | BUG=302505 TEST=None TBR=joi@chromium.org Review URL: https://codereview.chromium.org/106553004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241047 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore unknown attributes when parsing JSON schemas.joaodasilva@chromium.org2013-12-083-11/+48
| | | | | | | | | | | | | | | | JSON schemas are used by extensions that support enterprise management, to declare the policies that they support. The current parser rejects schemas with unknown attributes; this CL lifts that restriction for 2 reasons: - the JSON schema spec does not mandate this behavior for validators - it restricts future extensions to this format BUG=108992 Review URL: https://codereview.chromium.org/94043003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239407 0039d316-1c4b-4281-b951-d872f2087c98
* Resolve "$ref" attributes in JSON schemas.joaodasilva@chromium.org2013-11-281-4/+7
| | | | | | | | | | | | This allows managed extensions to declare policies that have a recursive type (e.g. a hierarchy of bookmarks with folders) or to reuse the same policy type for multiple policies. BUG=108992 Review URL: https://codereview.chromium.org/88573002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237814 0039d316-1c4b-4281-b951-d872f2087c98
* Docserver: Display enum value descriptions in API docs.sammc@chromium.org2013-11-012-2/+33
| | | | | | | | | | | | | | This modifies the json schema to allow both primitive types and dictionaries with properties "name" and optional "description" for enum values. BUG=310454 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=231982 Review URL: https://codereview.chromium.org/39113003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232297 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 231982 "Docserver: Display enum value descriptions in API..."kinaba@chromium.org2013-10-312-33/+2
| | | | | | | | | | | | | | | | | | | | "JsonSchemaTest.TestEnum" started failing on Windows bot after this change. > Docserver: Display enum value descriptions in API docs. > > This modifies the json schema to allow both primitive types and > dictionaries with properties "name" and optional "description" for enum > values. > > BUG=310454 > > Review URL: https://codereview.chromium.org/39113003 TBR=sammc@chromium.org Review URL: https://codereview.chromium.org/47403003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232016 0039d316-1c4b-4281-b951-d872f2087c98
* Docserver: Display enum value descriptions in API docs.sammc@chromium.org2013-10-312-2/+33
| | | | | | | | | | | | This modifies the json schema to allow both primitive types and dictionaries with properties "name" and optional "description" for enum values. BUG=310454 Review URL: https://codereview.chromium.org/39113003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231982 0039d316-1c4b-4281-b951-d872f2087c98
* Moved chrome/common/json_schema to components/json_schema.joaodasilva@chromium.org2013-08-1310-0/+1978
BUG=271392 Review URL: https://chromiumcodereview.appspot.com/22807004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217364 0039d316-1c4b-4281-b951-d872f2087c98