Chromium Code Reviews| Index: chrome/common/extensions/api/declarative_web_request.json |
| diff --git a/chrome/common/extensions/api/declarative_web_request.json b/chrome/common/extensions/api/declarative_web_request.json |
| index ff78b640f0b96543f6f6be044bb6449100e57b6d..048673c75aaba1d4c0bed8ff85482cb2d082763c 100644 |
| --- a/chrome/common/extensions/api/declarative_web_request.json |
| +++ b/chrome/common/extensions/api/declarative_web_request.json |
| @@ -88,6 +88,18 @@ |
| "description": "Matches if the MIME media type of a response (from the HTTP Content-Type header) is <em>not</em> contained in the list.", |
| "items": { "type": "string" } |
| }, |
| + "requestHeaders": { |
| + "type": "array", |
| + "optional": true, |
| + "description": "Matches if some of the request headers is matched by one of the HeaderFilters.", |
| + "items": { "$ref": "HeaderFilter" } |
| + }, |
| + "excludeRequestHeaders": { |
| + "type": "array", |
| + "optional": true, |
| + "description": "Matches if none of the request headers is matched by one of the HeaderFilters.", |
|
battre
2012/10/05 12:50:03
nit: "by one of the" -> "by any of the"
vabr (Chromium)
2012/10/05 15:56:53
Done, also for excludeResponseHeaders.
|
| + "items": { "$ref": "HeaderFilter" } |
| + }, |
| "responseHeaders": { |
| "type": "array", |
| "optional": true, |