Index: chrome/test/data/extensions/extension_api_unittest/types_have_namespace.json |
diff --git a/chrome/test/data/extensions/extension_api_unittest/types_have_namespace.json b/chrome/test/data/extensions/extension_api_unittest/types_have_namespace.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6b835420c4166ea2a9c43ef53fc55e81209b4e32 |
--- /dev/null |
+++ b/chrome/test/data/extensions/extension_api_unittest/types_have_namespace.json |
@@ -0,0 +1,38 @@ |
+[{ |
+ "namespace":"test.foo", |
+ "types": [ |
+ { |
+ "id": "TestType", |
+ "type": "object", |
+ "customBindings": "TestType", |
+ "properties": { |
+ "foo": {"$ref": "OtherType"}, |
+ "bar": {"$ref": "fully.qualified.Type"} |
+ } |
+ } |
+ ], |
+ "functions": [ |
+ { |
+ "name": "doFoo", |
+ "type": "function", |
+ "parameters": [ { "name": "t", "$ref": "TestType" } ], |
+ "returns": { "$ref": "fully.qualified.Type" } |
+ }, |
+ { |
+ "name": "doBar", |
+ "type": "function", |
+ "parameters": [ { "name": "t", "$ref": "fully.qualified.Type" } ], |
+ "returns": { "$ref": "TestType" } |
+ } |
+ ], |
+ "events": [ |
+ { |
+ "name": "onFoo", |
+ "type": "function", |
+ "parameters": [ |
+ { "name": "t1", "$ref": "TestType" }, |
+ { "name": "t2", "$ref": "fully.qualified.Type" } |
+ ] |
+ } |
+ ] |
+}] |