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

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

Issue 11018003: Extensions Docs Server: Server code for showing properties of properties (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 d1654a8b489be0adb00f375153108c0fd53a776c..9a166fdf22ff83fe2a9fd30e3fdaaa4c50f820fe 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
@@ -1,6 +1,8 @@
{
"functions": [
{
+ "name": "get",
+ "parent": null,
"callback": {
"simple_type": {
"simple_type": "function"
@@ -12,9 +14,13 @@
"functions": [],
"last": true,
"name": "results",
+ "parent": null,
+ "id": "property-results",
"array": {
"functions": [],
"name": "resultsElement",
+ "parent": null,
+ "id": "property-resultsElement",
"link": {
"text": "TypeA",
"href": "#type-TypeA"
@@ -32,16 +38,19 @@
"description": null
},
"returns": null,
- "name": "get",
"parameters": [
{
"functions": [],
"name": "a",
+ "parent": null,
+ "id": "property-a",
"choices": [
{
"functions": [],
- "name": "a",
"simple_type": "string",
+ "name": "a",
+ "parent": null,
+ "id": "property-a",
"optional": true,
"properties": [],
"description": null
@@ -50,10 +59,14 @@
"functions": [],
"last": true,
"name": "a",
+ "parent": null,
+ "id": "property-a",
"array": {
"functions": [],
- "name": "aElement",
"simple_type": "string",
+ "name": "aElement",
+ "parent": null,
+ "id": "property-aElement",
"optional": false,
"properties": [],
"description": null
@@ -78,9 +91,13 @@
"functions": [],
"last": true,
"name": "results",
+ "parent": null,
+ "id": "property-results",
"array": {
"functions": [],
"name": "resultsElement",
+ "parent": null,
+ "id": "property-resultsElement",
"link": {
"text": "TypeA",
"href": "#type-TypeA"
@@ -98,6 +115,7 @@
"description": null
}
],
+ "id": "method-get",
"description": "Gets stuff."
}
],
@@ -105,16 +123,17 @@
"name": "tester",
"types": [
{
- "functions": [],
- "name": "TypeA",
- "simple_type": "object",
"properties": [
{
"functions": [],
"name": "b",
+ "parent": "TypeA",
+ "id": "property-TypeA-b",
"array": {
"functions": [],
"name": "bElement",
+ "parent": null,
+ "id": "property-bElement",
"link": {
"text": "TypeA",
"href": "#type-TypeA"
@@ -128,19 +147,26 @@
"description": "List of TypeA."
}
],
+ "name": "TypeA",
+ "simple_type": "object",
+ "functions": [],
"events": [],
+ "id": "type-TypeA",
"description": "A cool thing."
}
],
"events": [
{
+ "parent": null,
"callback": null,
"name": "EventA",
"parameters": [
{
"functions": [],
- "name": "id",
"simple_type": "string",
+ "name": "id",
+ "parent": null,
+ "id": "property-id",
"optional": false,
"properties": [],
"description": null
@@ -149,6 +175,8 @@
"functions": [],
"last": true,
"name": "bookmark",
+ "parent": null,
+ "id": "property-bookmark",
"link": {
"text": "TypeA",
"href": "#type-TypeA"
@@ -159,9 +187,10 @@
}
],
"supportsRules": false,
- "actions": [],
"filters": [],
"conditions": [],
+ "id": "event-EventA",
+ "actions": [],
"description": "A cool event."
}
]

Powered by Google App Engine
This is Rietveld 408576698