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

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

Issue 10689117: Extensions Docs Server: Support APIs with properties (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Storage API looking good 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 1e7ab07d70d578ebc622d91550738ea346f84ed7..fafb9108f413d46aff7973bc1ecf7c39d884d783 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
@@ -2,12 +2,18 @@
"functions": [
{
"callback": {
+ "simple_type": {
+ "type": "function"
+ },
+ "name": "callback",
"parameters": [
{
+ "functions": [],
"name": "results",
"optional": false,
"last_parameter": true,
"array": {
+ "functions": [],
"name": "resultsElement",
"optional": false,
"link": {
@@ -23,20 +29,19 @@
"description": null
}
],
+ "last_item": true,
"optional": false,
- "name": "callback",
- "simple_type": {
- "type": "function"
- },
- "last_item": true
+ "description": null
},
"name": "get",
"parameters": [
{
+ "functions": [],
"name": "a",
"optional": false,
"choices": [
{
+ "functions": [],
"name": "a",
"simple_type": {
"type": "string"
@@ -48,9 +53,11 @@
},
{
"last_choice": true,
+ "functions": [],
"name": "a",
"optional": true,
"array": {
+ "functions": [],
"name": "aElement",
"simple_type": {
"type": "string"
@@ -70,12 +77,18 @@
"description": "a param"
},
{
+ "simple_type": {
+ "type": "function"
+ },
+ "name": "callback",
"parameters": [
{
+ "functions": [],
"name": "results",
"optional": false,
"last_parameter": true,
"array": {
+ "functions": [],
"name": "resultsElement",
"optional": false,
"link": {
@@ -91,12 +104,9 @@
"description": null
}
],
+ "last_item": true,
"optional": false,
- "name": "callback",
- "simple_type": {
- "type": "function"
- },
- "last_item": true
+ "description": null
}
],
"description": "Gets stuff."
@@ -113,9 +123,11 @@
"type": "object",
"properties": [
{
+ "functions": [],
"name": "b",
"optional": true,
"array": {
+ "functions": [],
"name": "bElement",
"optional": false,
"link": {
@@ -133,5 +145,6 @@
],
"description": "A cool thing."
}
- ]
+ ],
+ "properties": []
}

Powered by Google App Engine
This is Rietveld 408576698