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

Unified Diff: chrome/common/extensions/docs/server2/test_data/test_json/expected_test_file.json

Issue 10826024: Extensions Docs Server: Proper $ref handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/test_data/test_json/expected_test_file.json
diff --git a/chrome/common/extensions/docs/server2/test_data/test_json/expected_test_file.json b/chrome/common/extensions/docs/server2/test_data/test_json/expected_test_file.json
index 30cd8629d2f560ed25563ea00b6b2ac86c9820d2..6c91188aafe4bd79e53f55449a680c66ffde3f3b 100644
--- a/chrome/common/extensions/docs/server2/test_data/test_json/expected_test_file.json
+++ b/chrome/common/extensions/docs/server2/test_data/test_json/expected_test_file.json
@@ -4,159 +4,159 @@
"callback": {
"simple_type": {
"simple_type": "function"
- },
- "last": true,
- "name": "callback",
+ },
+ "last": true,
+ "name": "callback",
"parameters": [
{
- "functions": [],
- "last": true,
- "name": "results",
+ "functions": [],
+ "last": true,
+ "name": "results",
"array": {
- "functions": [],
- "name": "resultsElement",
+ "functions": [],
+ "name": "resultsElement",
"link": {
- "text": "TypeA",
- "href": "tester.html#type-TypeA"
- },
- "optional": false,
- "properties": [],
+ "text": "TypeA",
+ "href": "#type-TypeA"
+ },
+ "optional": false,
+ "properties": [],
"description": null
- },
- "optional": false,
- "properties": [],
+ },
+ "optional": false,
+ "properties": [],
"description": null
}
- ],
- "optional": false,
+ ],
+ "optional": false,
"description": null
- },
- "returns": null,
- "name": "get",
+ },
+ "returns": null,
+ "name": "get",
"parameters": [
{
- "functions": [],
- "name": "a",
+ "functions": [],
+ "name": "a",
"choices": [
{
- "functions": [],
- "name": "a",
- "simple_type": "string",
- "optional": true,
- "properties": [],
+ "functions": [],
+ "name": "a",
+ "simple_type": "string",
+ "optional": true,
+ "properties": [],
"description": null
- },
+ },
{
- "functions": [],
- "last": true,
- "name": "a",
+ "functions": [],
+ "last": true,
+ "name": "a",
"array": {
- "functions": [],
- "name": "aElement",
- "simple_type": "string",
- "optional": false,
- "properties": [],
+ "functions": [],
+ "name": "aElement",
+ "simple_type": "string",
+ "optional": false,
+ "properties": [],
"description": null
- },
- "optional": true,
- "properties": [],
+ },
+ "optional": true,
+ "properties": [],
"description": null
}
- ],
- "optional": false,
- "properties": [],
+ ],
+ "optional": false,
+ "properties": [],
"description": "a param"
- },
+ },
{
"simple_type": {
"simple_type": "function"
- },
- "last": true,
- "name": "callback",
+ },
+ "last": true,
+ "name": "callback",
"parameters": [
{
- "functions": [],
- "last": true,
- "name": "results",
+ "functions": [],
+ "last": true,
+ "name": "results",
"array": {
- "functions": [],
- "name": "resultsElement",
+ "functions": [],
+ "name": "resultsElement",
"link": {
- "text": "TypeA",
- "href": "tester.html#type-TypeA"
- },
- "optional": false,
- "properties": [],
+ "text": "TypeA",
+ "href": "#type-TypeA"
+ },
+ "optional": false,
+ "properties": [],
"description": null
- },
- "optional": false,
- "properties": [],
+ },
+ "optional": false,
+ "properties": [],
"description": null
}
- ],
- "optional": false,
+ ],
+ "optional": false,
"description": null
}
- ],
+ ],
"description": "Gets stuff."
}
- ],
- "properties": [],
- "name": "tester",
+ ],
+ "properties": [],
+ "name": "tester",
"types": [
{
+ "functions": [],
+ "name": "TypeA",
+ "simple_type": "object",
"properties": [
{
- "functions": [],
- "name": "b",
+ "functions": [],
+ "name": "b",
"array": {
- "functions": [],
- "name": "bElement",
+ "functions": [],
+ "name": "bElement",
"link": {
- "text": "TypeA",
- "href": "tester.html#type-TypeA"
- },
- "optional": false,
- "properties": [],
+ "text": "TypeA",
+ "href": "#type-TypeA"
+ },
+ "optional": false,
+ "properties": [],
"description": null
- },
- "optional": true,
- "properties": [],
+ },
+ "optional": true,
+ "properties": [],
"description": "List of TypeA."
}
- ],
+ ],
"events": [],
- "functions": [],
- "name": "TypeA",
- "simple_type": "object",
"description": "A cool thing."
}
- ],
+ ],
"events": [
{
- "name": "EventA",
+ "name": "EventA",
"parameters": [
{
- "functions": [],
- "name": "id",
- "simple_type": "string",
- "optional": false,
- "properties": [],
+ "functions": [],
+ "name": "id",
+ "simple_type": "string",
+ "optional": false,
+ "properties": [],
"description": null
- },
+ },
{
- "functions": [],
- "last": true,
- "name": "bookmark",
+ "functions": [],
+ "last": true,
+ "name": "bookmark",
"link": {
- "text": "TypeA",
- "href": "tester.html#type-TypeA"
- },
- "optional": false,
- "properties": [],
+ "text": "TypeA",
+ "href": "#type-TypeA"
+ },
+ "optional": false,
+ "properties": [],
"description": null
}
- ],
+ ],
"description": "A cool event."
}
]

Powered by Google App Engine
This is Rietveld 408576698