| Index: third_party/chrome/tools/test/crossref.json
|
| diff --git a/third_party/chrome/tools/test/crossref.json b/third_party/chrome/tools/test/crossref.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9d3f90578447dc56612784074af937a4b17aa879
|
| --- /dev/null
|
| +++ b/third_party/chrome/tools/test/crossref.json
|
| @@ -0,0 +1,75 @@
|
| +[
|
| + {
|
| + "namespace": "crossref",
|
| + "dependencies": ["simple_api"],
|
| + "types": [
|
| + {
|
| + "id": "CrossrefType",
|
| + "type": "object",
|
| + "properties": {
|
| + "testType": {
|
| + "$ref": "simple_api.TestType",
|
| + "optional": true
|
| + }
|
| + }
|
| + }
|
| + ],
|
| + "functions": [
|
| + {
|
| + "name": "testTypeOptionalParam",
|
| + "type": "function",
|
| + "description": "Takes TestType as a param.",
|
| + "parameters": [
|
| + {
|
| + "name": "testType",
|
| + "$ref": "simple_api.TestType",
|
| + "optional": true
|
| + },
|
| + {
|
| + "name": "callback",
|
| + "type": "function",
|
| + "parameters": []
|
| + }
|
| + ]
|
| + },
|
| + {
|
| + "name": "getTestType",
|
| + "type": "function",
|
| + "description": "Return a TestType.",
|
| + "parameters": [
|
| + {
|
| + "name": "callback",
|
| + "type": "function",
|
| + "parameters": [
|
| + {
|
| + "name": "result",
|
| + "$ref": "simple_api.TestType",
|
| + "description": "A TestType."
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| + },
|
| + {
|
| + "name": "testTypeInObject",
|
| + "type": "function",
|
| + "description": "Takes an optional object with a TestType and a bool.",
|
| + "parameters": [
|
| + {
|
| + "name": "paramObject",
|
| + "type": "object",
|
| + "properties": {
|
| + "testType": {"$ref": "simple_api.TestType", "optional": true},
|
| + "boolean": {"type": "boolean"}
|
| + }
|
| + },
|
| + {
|
| + "name": "callback",
|
| + "type": "function",
|
| + "parameters": []
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| + }
|
| +]
|
|
|