Chromium Code Reviews| Index: chrome/common/extensions/api/extension_api.json |
| diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json |
| index f3e8dc966d0b82f234abd37cedc7afe82f696e00..b27278fda2f76a18927e879195afeb4e0c0439d4 100644 |
| --- a/chrome/common/extensions/api/extension_api.json |
| +++ b/chrome/common/extensions/api/extension_api.json |
| @@ -4637,7 +4637,7 @@ |
| "type": "array", |
| "optional": true, |
| "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", "other"] } |
| + "items": { "type": "string", "enum": ["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xhr", "other"] } |
|
Matt Perry
2011/08/08 18:31:57
xhr seems slightly obscure. Let's rename it to "xm
|
| }, |
| "tabId": { "type": "integer", "optional": true }, |
| "windowId": { "type": "integer", "optional": true } |
| @@ -4738,7 +4738,7 @@ |
| "method": {"type": "string", "description": "Standard HTTP method."}, |
| "frameId": {"type": "integer", "description": "0 indicates the request happens in the main frame; a positive value indicates the ID of a subframe in which the request happens. If the document of a (sub-)frame is loaded (<code>type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs are unique within a tab."}, |
| "tabId": {"type": "integer", "description": "The ID of the tab in which the request takes place. Set to null if the request isn't related to a tab."}, |
| - "type": {"type": "string", "enum": ["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "other"], "description": "How the requested resource will be used."}, |
| + "type": {"type": "string", "enum": ["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xhr", "other"], "description": "How the requested resource will be used."}, |
| "timeStamp": {"type": "number", "description": "The time when the browser was about to make the request, in milliseconds since the epoch."} |
| } |
| } |