Index: chrome/common/extensions/api/web_request.json |
diff --git a/chrome/common/extensions/api/web_request.json b/chrome/common/extensions/api/web_request.json |
index 5d279c76b3273250aa3cebd4cc17ccb1dfbfac64..0dd364c1bb2f73808b7de72a8cd08fb80a36c5cb 100644 |
--- a/chrome/common/extensions/api/web_request.json |
+++ b/chrome/common/extensions/api/web_request.json |
@@ -29,8 +29,15 @@ |
"description": "A list of request types. 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"] } |
}, |
- "tabId": { "type": "integer", "optional": true }, |
- "windowId": { "type": "integer", "optional": true } |
+ "extraRequestParams": { |
+ "type": "object", |
+ "optional": true, |
+ "description": "A data structure that contains extra request parameters, such as tabID and windowID.", |
+ "properties": { |
+ "tabId": {"type": "integer", "optional": true}, |
+ "windowId": {"type": "integer", "optional": true} |
+ } |
+ } |
} |
}, |
{ |