| Index: extensions/common/api/web_request_internal.json
|
| diff --git a/extensions/common/api/web_request_internal.json b/extensions/common/api/web_request_internal.json
|
| index 6861f5db17e9e0f4055cb923517ccfd84b138386..4adcd06dacb97991fb7f4c7c1faa14416801bf6c 100644
|
| --- a/extensions/common/api/web_request_internal.json
|
| +++ b/extensions/common/api/web_request_internal.json
|
| @@ -9,6 +9,13 @@
|
| "compiler_options": {
|
| "implemented_in": "extensions/browser/api/web_request/web_request_api.h"
|
| },
|
| + "types": [
|
| + {
|
| + "id": "AddEventListenerOptions",
|
| + "type": "string",
|
| + "enum": ["requestHeaders", "responseHeaders", "blocking", "asyncBlocking", "requestBody"]
|
| + }
|
| + ],
|
| "functions": [
|
| {
|
| "name": "addEventListener",
|
| @@ -27,8 +34,7 @@
|
| "name": "extraInfoSpec",
|
| "description": "Array of extra information that should be passed to the listener function.",
|
| "items": {
|
| - "type": "string",
|
| - "enum": ["requestHeaders", "responseHeaders", "blocking", "asyncBlocking", "requestBody"]
|
| + "$ref": "AddEventListenerOptions"
|
| }
|
| },
|
| {"type": "string", "name": "eventName"},
|
|
|