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..d9362b63aeeba8c4750e56ba0c8566432591bb2d 100644 |
| --- a/chrome/common/extensions/api/declarative_web_request.json |
| +++ b/chrome/common/extensions/api/declarative_web_request.json |
| @@ -10,7 +10,7 @@ |
| { |
| "id": "HeaderFilter", |
| "type": "object", |
| - "description": "Filters request headers for various criteria.", |
| + "description": "Filters request headers for various criteria. Multiple criteria are evaluated as conjunction.", |
|
battre
2012/10/15 07:12:21
nit: "as a conjunction"?
vabr (Chromium)
2012/10/15 11:59:10
Done.
|
| "properties": { |
| "namePrefix": { |
| "description" : "Matches if the header name starts with the specified string.", |
| @@ -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 any of the HeaderFilters.", |
| + "items": { "$ref": "HeaderFilter" } |
| + }, |
| "responseHeaders": { |
| "type": "array", |
| "optional": true, |
| @@ -97,7 +109,7 @@ |
| "excludeResponseHeaders": { |
| "type": "array", |
| "optional": true, |
| - "description": "Matches if none of the response headers is matched by one of the HeaderFilters.", |
| + "description": "Matches if none of the response headers is matched by any of the HeaderFilters.", |
| "items": { "$ref": "HeaderFilter" } |
| }, |
| "instanceType": { |