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

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 8411001: Fix generation of API documentation for arrays of objects (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/experimental.webRequest.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index 7745b84005213ffbe8e5149ec9166b04b8d0dd0f..8daa773006f51b2807856c600725724d552d0653 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -5799,12 +5799,12 @@
{
"id": "HttpHeaders",
"type": "array",
- "description": "An array of HTTP headers, in the form of name/value pairs.",
+ "description": "An array of HTTP headers. Each header is represented as a dictionary containing the keys <code>name</code> and <code>value</code>.",
"items": {
"type": "object",
"properties": {
- "name": {"type": "string"},
- "value": {"type": "string"}
+ "name": {"type": "string", "description": "Name of the HTTP header."},
+ "value": {"type": "string", "description": "Value of the HTTP header."}
}
}
},
« no previous file with comments | « no previous file | chrome/common/extensions/docs/experimental.webRequest.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698