Chromium Code Reviews| Index: tools/json_schema_compiler/test/functionsOnTypes.json |
| diff --git a/tools/json_schema_compiler/test/functionsOnTypes.json b/tools/json_schema_compiler/test/functionsOnTypes.json |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..31b37737ace8eadf426e7b1ee5d85525628fe0a9 |
| --- /dev/null |
| +++ b/tools/json_schema_compiler/test/functionsOnTypes.json |
| @@ -0,0 +1,33 @@ |
| +[ |
| + { |
| + "namespace": "functionsOnTypes", |
| + "types": [ |
| + { |
| + "id": "ChromeSetting", |
| + "type": "object", |
| + "description": "An interface which allows access to a Chrome browser setting.", |
| + "functions": [ |
| + { |
| + "name": "get", |
| + "type": "function", |
| + "description": "Gets the value of a setting.", |
| + "parameters": [ |
| + { |
| + "name": "details", |
| + "type": "object", |
| + "description": "What setting to consider.", |
| + "properties": { |
| + "incognito": { |
| + "type": "boolean", |
| + "optional": true, |
| + "description": "Whether to return the setting that applies to the incognito session (default false)." |
| + } |
| + } |
|
not at google - send to devlin
2012/02/29 03:06:30
would be better to test something that has a funct
calamity
2012/03/01 04:47:09
Done.
|
| + } |
| + ] |
| + } |
| + ] |
| + } |
| + ] |
| + } |
| +] |