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

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

Issue 14322003: Inline docs render properly in extensions doc server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Display and test changes Created 7 years, 8 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_inline.json
diff --git a/chrome/common/extensions/docs/server2/test_data/test_json/expected_inline.json b/chrome/common/extensions/docs/server2/test_data/test_json/expected_inline.json
new file mode 100644
index 0000000000000000000000000000000000000000..a223664dd468de5b3ade4ba5b8910b0b5c1b1398
--- /dev/null
+++ b/chrome/common/extensions/docs/server2/test_data/test_json/expected_inline.json
@@ -0,0 +1,127 @@
+{
+ "functions": [
+ {
+ "name": "requestKeepAwake",
+ "parameters": [
+ {
+ "description": "",
+ "link": {
+ "text": "Level",
+ "href": "#type-Level",
+ "name": "Level"
+ },
+ "is_object": false,
+ "optional": null,
+ "id": "property-requestKeepAwake-level",
+ "parent_name": "requestKeepAwake",
+ "functions": [],
+ "last": true,
+ "name": "level",
+ "parameters": [],
+ "properties": [],
+ "returns": null
+ }
+ ],
+ "callback": null,
+ "returns": null,
+ "id": "method-requestKeepAwake",
+ "description": null
+ },
+ {
+ "name": "releaseKeepAwake",
+ "parameters": [],
+ "callback": null,
+ "returns": null,
+ "id": "method-releaseKeepAwake",
+ "description": null
+ },
+ {
+ "name": "doStuff",
+ "parameters": [
+ {
+ "description": null,
+ "link": {
+ "text": "DownloadQuery",
+ "href": "#type-DownloadQuery",
+ "name": "DownloadQuery"
+ },
+ "is_object": false,
+ "optional": null,
+ "id": "property-doStuff-query",
+ "parent_name": "doStuff",
+ "functions": [],
+ "last": true,
+ "name": "query",
+ "parameters": [],
+ "properties": [
+ {
+ "description": null,
+ "is_object": false,
+ "parameters": [],
+ "optional": true,
+ "id": "property-query-query",
+ "parent_name": "query",
+ "functions": [],
+ "name": "query",
+ "simple_type": "string",
+ "properties": [],
+ "returns": null
+ },
+ {
+ "description": null,
+ "is_object": false,
+ "parameters": [],
+ "optional": true,
+ "id": "property-query-startedBefore",
+ "parent_name": "query",
+ "functions": [],
+ "name": "startedBefore",
+ "simple_type": "string",
+ "properties": [],
+ "returns": null
+ },
+ {
+ "description": null,
+ "is_object": false,
+ "parameters": [],
+ "optional": true,
+ "id": "property-query-startedAfter",
+ "parent_name": "query",
+ "functions": [],
+ "name": "startedAfter",
+ "simple_type": "string",
+ "properties": [],
+ "returns": null
+ },
+ {
+ "description": "",
+ "link": {
+ "text": "Level",
+ "href": "#type-Level",
+ "name": "Level"
+ },
+ "is_object": false,
+ "optional": null,
+ "id": "property-query-thing",
+ "parent_name": "query",
+ "functions": [],
+ "name": "thing",
+ "parameters": [],
+ "properties": [],
+ "returns": null
+ }
+ ],
+ "returns": null
+ }
+ ],
+ "callback": null,
+ "returns": null,
+ "id": "method-doStuff",
+ "description": null
+ }
+ ],
+ "properties": [],
+ "name": "power",
+ "types": [],
+ "events": []
+}

Powered by Google App Engine
This is Rietveld 408576698