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 b4d72b51148f2796dc725b680afc62ab7b8f8274..62f01417c0709f8b88c33d6694c52a923c1dba0a 100644 |
--- a/chrome/common/extensions/api/extension_api.json |
+++ b/chrome/common/extensions/api/extension_api.json |
@@ -3563,6 +3563,22 @@ |
] |
}, |
{ |
+ "name": "onBeforeSendHeaders", |
+ "type": "function", |
+ "description": "Fires before sending an HTTP request, once the request headers are available.", |
+ "parameters": [ |
+ { |
+ "type": "object", |
+ "name": "details", |
+ "properties": { |
+ "requestId": {"type": "string", "description": "The ID of the request. Request IDs are unique within a browser session. As a result, they could be used to relate different events of the same request."}, |
+ "url": {"type": "string"}, |
+ "timeStamp": {"type": "number", "description": "The time when the browser was about to make the request, in milliseconds since the epoch."} |
+ } |
+ } |
+ ] |
+ }, |
+ { |
"name": "onRequestSent", |
"type": "function", |
"description": "Fires when a request is sent to the server.", |