Added gcdPrivate.getDeviceInfo function
[chromium-blink-merge.git] / tools / json_schema_compiler / test / functions_as_parameters.json
blobb94861681431331bf40c4114b01c022800269c0c
2   {
3     "namespace": "functions_as_parameters",
4     "description": "The functionsAsParameters API",
5     "types": [
6       {
7         "id": "FunctionType",
8         "type": "object",
9         "properties": {
10           "event_callback": {
11             "type": "function",
12             "parameters": { }
13           }
14         }
15       },
16       {
17         "id": "OptionalFunctionType",
18         "type": "object",
19         "properties": {
20           "event_callback": {
21             "type": "function",
22             "optional": true,
23             "parameters": { }
24           }
25         }
26       }
27     ]
28   }