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 a45b81cdacc4f9416fed556deec0f049ca0f01fd..66d030e85e93d6ee4bfbffd0d279bd848986b448 100644 |
--- a/chrome/common/extensions/api/extension_api.json |
+++ b/chrome/common/extensions/api/extension_api.json |
@@ -5460,6 +5460,14 @@ |
"$ref": "HttpHeaders", |
"optional": true, |
"description": "Only used as a response to the onBeforeSendHeaders event. If set, the request is made with these request headers instead." |
+ }, |
+ "authCredentials": { |
+ "type": "object", |
+ "optional": true, |
+ "properties": { |
+ "username": {"type": "string"}, |
+ "password": {"type": "string"} |
+ } |
} |
} |
} |
@@ -5663,10 +5671,15 @@ |
"description": "Array of extra information that should be passed to the listener function.", |
"items": { |
"type": "string", |
- "enum": ["statusLine", "responseHeaders"] |
+ "enum": ["statusLine", "responseHeaders", "blocking"] |
} |
} |
- ] |
+ ], |
+ "returns": { |
+ "$ref": "BlockingResponse", |
+ "description": "If \"blocking\" is specified in the \"extraInfoSpec\" parameter, the event listener should return an object of this type.", |
+ "optional": true |
+ } |
}, |
{ |
"name": "onResponseStarted", |