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

Side by Side Diff: chrome/common/extensions/api/chromeosInfoPrivate.json

Issue 9491002: json_schema_compiler: any, additionalProperties, functions on types (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: add any in arrays to util.h Created 8 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/extensions/api/devtools_api.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "chromeosInfoPrivate", 3 "namespace": "chromeosInfoPrivate",
4 "nodoc": "true", 4 "nodoc": "true",
5 "functions": [ 5 "functions": [
6 { 6 {
7 "name": "get", 7 "name": "get",
8 "description": "Fetches customization values for the given property name s. See property names in the declaration of the returned dictionary.", 8 "description": "Fetches customization values for the given property name s. See property names in the declaration of the returned dictionary.",
9 "type": "function", 9 "type": "function",
10 "parameters": [ 10 "parameters": [
11 { 11 {
12 "name": "propertyNames", 12 "name": "propertyNames",
13 "type": "array", 13 "type": "array",
14 "item": {"type": "string", "description": "Chrome OS Property name"} 14 "description": "Chrome OS Property names",
15 "items": {"type": "string"}
15 }, 16 },
16 { 17 {
17 "name": "callback", 18 "name": "callback",
18 "type": "function", 19 "type": "function",
19 "parameters": [ 20 "parameters": [
20 { 21 {
21 "name": "propertiesDictionary", 22 "name": "propertiesDictionary",
22 "type": "object", 23 "type": "object",
23 "description": "Dictionary which contains all requested properti es", 24 "description": "Dictionary which contains all requested properti es",
24 "properties": { 25 "properties": {
25 "hwid": {"type": "string", "optional": "true", "description": "Hardware ID"}, 26 "hwid": {"type": "string", "optional": "true", "description": "Hardware ID"},
26 "homeProvider" : {"type": "string", "optional": "true", "descr iption": "Home provider which is used by the cellular device"}, 27 "homeProvider" : {"type": "string", "optional": "true", "descr iption": "Home provider which is used by the cellular device"},
27 "initialLocale" : {"type": "string", "optional": "true", "desc ription": "Initial locale for the device"} 28 "initialLocale" : {"type": "string", "optional": "true", "desc ription": "Initial locale for the device"}
28 } 29 }
29 } 30 }
30 ] 31 ]
31 } 32 }
32 ] 33 ]
33 } 34 }
34 ] 35 ]
35 } 36 }
36 ] 37 ]
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/extensions/api/devtools_api.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698