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 c2f19bba55ccd0552ec19dd114588c455ffc44fb..845db66e22497febcbb00e11a9146fe297962fa0 100644 |
--- a/chrome/common/extensions/api/extension_api.json |
+++ b/chrome/common/extensions/api/extension_api.json |
@@ -3600,6 +3600,21 @@ |
] |
}, |
{ |
+ "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"} |
+ } |
+ } |
+ ] |
+ }, |
+ { |
"name": "onRequestSent", |
"type": "function", |
"description": "Fires when a request is sent to the server.", |