Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4289)

Unified Diff: chrome/common/extensions/api/web_request.json

Issue 10310028: Making webRequest.addEventListener internal (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing ExtensionPermissionsTest.PermissionMessages unit-test for WebRequestInternal Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/web_request.json
diff --git a/chrome/common/extensions/api/web_request.json b/chrome/common/extensions/api/web_request.json
index 386178871af2156d18f7e3f379188e56ec18da6d..af94afe869f5b54bae7412ffbe85889105e7099c 100644
--- a/chrome/common/extensions/api/web_request.json
+++ b/chrome/common/extensions/api/web_request.json
@@ -83,48 +83,6 @@
],
"functions": [
{
- "name": "addEventListener",
- "nodoc": true,
- "type": "function",
- "description": "Used internally to implement the special form of addListener for the webRequest events.",
- "parameters": [
- {"type": "function", "name": "callback"},
- {
- "$ref": "RequestFilter",
- "name": "filter",
- "description": "A set of filters that restricts the events that will be sent to this listener."
- },
- {
- "type": "array",
- "optional": true,
- "name": "extraInfoSpec",
- "description": "Array of extra information that should be passed to the listener function.",
- "items": {
- "type": "string",
- "enum": ["requestHeaders", "responseHeaders", "blocking", "asyncBlocking"]
- }
- },
- {"type": "string", "name": "eventName"},
- {"type": "string", "name": "subEventName"}
- ]
- },
- {
- "name": "eventHandled",
- "nodoc": true,
- "type": "function",
- "description": "Used internally to send a response for a blocked event.",
- "parameters": [
- {"type": "string", "name": "eventName"},
- {"type": "string", "name": "subEventName"},
- {"type": "string", "name": "requestId"},
- {
- "$ref": "BlockingResponse",
- "optional": true,
- "name": "response"
- }
- ]
- },
- {
"name": "handlerBehaviorChanged",
"type": "function",
"description": "Needs to be called when the behavior of the webRequest handlers has changed to prevent incorrect handling due to caching. This function call is expensive. Don't call it often.",
« no previous file with comments | « chrome/common/extensions/api/extension_api.cc ('k') | chrome/common/extensions/api/web_request_internal.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698