Chromium Code Reviews| 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..2eb7bdb08d1f03c51d091f011ffcfa6dae5cd713 100644 |
| --- a/chrome/common/extensions/api/experimental.downloads.json |
| +++ b/chrome/common/extensions/api/experimental.downloads.json |
| @@ -81,6 +81,24 @@ |
| } |
| }, |
| "types": [ |
| + { |
|
asanka
2012/01/11 18:22:59
Nit: indentation.
cbentzel
2012/01/11 18:43:21
Done.
|
| + "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>.", |
| + "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", |