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 675eebd4475b26e11eaabae1e8578c6484bb5793..275236735d39bb5eb995f50029bb18697f0ff1b5 100644 |
--- a/chrome/common/extensions/api/declarative_web_request.json |
+++ b/chrome/common/extensions/api/declarative_web_request.json |
@@ -23,6 +23,12 @@ |
"description": "Matches if the request type of a request is contained in the list. Requests that cannot match any of the types will be filtered out.", |
"items": { "type": "string", "enum": ["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"] } |
}, |
+ "contentType": { |
+ "type": "array", |
+ "optional": true, |
+ "description": "Matches if the MIME media type of a response (from the HTTP Content-Type header) is contained in the list.", |
+ "items": { "type": "string" } |
+ }, |
"instanceType": { |
"type": "string", "enum": ["declarativeWebRequest.RequestMatcher"], |
"nodoc": true |