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

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

Issue 10835012: Extension Docs Server: Include a list of samples used in the api reference page. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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 6c91188aafe4bd79e53f55449a680c66ffde3f3b..408be6db50f68984de751fe430bfe3276c48fb92 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
@@ -101,8 +101,37 @@
"description": "Gets stuff."
}
],
- "properties": [],
"name": "tester",
+ "events": [
+ {
+ "name": "EventA",
+ "parameters": [
+ {
+ "functions": [],
+ "name": "id",
+ "simple_type": "string",
+ "optional": false,
+ "properties": [],
+ "description": null
+ },
+ {
+ "functions": [],
+ "last": true,
+ "name": "bookmark",
+ "link": {
+ "text": "TypeA",
+ "href": "#type-TypeA"
+ },
+ "optional": false,
+ "properties": [],
+ "description": null
+ }
+ ],
+ "description": "A cool event."
+ }
+ ],
+ "samples": [],
+ "properties": [],
"types": [
{
"functions": [],
@@ -131,33 +160,5 @@
"events": [],
"description": "A cool thing."
}
- ],
- "events": [
- {
- "name": "EventA",
- "parameters": [
- {
- "functions": [],
- "name": "id",
- "simple_type": "string",
- "optional": false,
- "properties": [],
- "description": null
- },
- {
- "functions": [],
- "last": true,
- "name": "bookmark",
- "link": {
- "text": "TypeA",
- "href": "#type-TypeA"
- },
- "optional": false,
- "properties": [],
- "description": null
- }
- ],
- "description": "A cool event."
- }
]
}

Powered by Google App Engine
This is Rietveld 408576698