Index: chrome/common/extensions/api/experimental.downloads.json |
diff --git a/chrome/common/extensions/api/experimental.downloads.json b/chrome/common/extensions/api/experimental.downloads.json |
index eca6731d4081a0c0d0ae392bb58b3f7278f64215..fcaf3ea39498ac095651098ae83e135665c0b7a8 100644 |
--- a/chrome/common/extensions/api/experimental.downloads.json |
+++ b/chrome/common/extensions/api/experimental.downloads.json |
@@ -82,6 +82,24 @@ |
}, |
"types": [ |
{ |
+ "id": "HttpHeaders", |
+ "type": "array", |
+ "description": "An array of HTTP headers. Each header is represented as a dictionary containing the keys <code>name</code> and either <code>value</code> or <code>binaryValue</code>.", |
Sam Kerner (Chrome)
2012/01/11 16:21:15
I have not seen HTML tags like <code> used in this
|
+ "items": { |
+ "type": "object", |
+ "properties": { |
+ "name": {"type": "string", "description": "Name of the HTTP header."}, |
+ "value": {"type": "string", "optional": true, "description": "Value of the HTTP header if it can be represented by UTF-8."}, |
+ "binaryValue": { |
+ "type": "array", |
+ "optional": true, |
+ "description": "Value of the HTTP header if it cannot be represented by UTF-8, stored as individual byte values (0..255).", |
+ "items": {"type": "integer"} |
+ } |
+ } |
+ } |
+ }, |
+ { |
"id": "DownloadItem", |
"type": "object", |
"description": "The state of a file as it is downloaded from the internet.", |