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

Side by Side Diff: chrome/common/extensions/api/web_request_internal.json

Issue 10694055: Add read-only access to POST data for webRequest's onBeforeRequest (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: No change in code, but with a patch generated without copy detection Created 8 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "webRequestInternal", 7 "namespace": "webRequestInternal",
8 "nodoc": true, 8 "nodoc": true,
9 "internal": true, 9 "internal": true,
10 "functions": [ 10 "functions": [
11 { 11 {
12 "name": "addEventListener", 12 "name": "addEventListener",
13 "type": "function", 13 "type": "function",
14 "description": "Used internally to implement the special form of addList ener for the webRequest events.", 14 "description": "Used internally to implement the special form of addList ener for the webRequest events.",
15 "parameters": [ 15 "parameters": [
16 {"type": "function", "name": "callback"}, 16 {"type": "function", "name": "callback"},
17 { 17 {
18 "$ref": "webRequest.RequestFilter", 18 "$ref": "webRequest.RequestFilter",
19 "name": "filter", 19 "name": "filter",
20 "description": "A set of filters that restricts the events that will be sent to this listener." 20 "description": "A set of filters that restricts the events that will be sent to this listener."
21 }, 21 },
22 { 22 {
23 "type": "array", 23 "type": "array",
24 "optional": true, 24 "optional": true,
25 "name": "extraInfoSpec", 25 "name": "extraInfoSpec",
26 "description": "Array of extra information that should be passed to the listener function.", 26 "description": "Array of extra information that should be passed to the listener function.",
27 "items": { 27 "items": {
28 "type": "string", 28 "type": "string",
29 "enum": ["requestHeaders", "responseHeaders", "blocking", "asyncBl ocking"] 29 "enum": ["requestHeaders", "responseHeaders", "blocking", "asyncBl ocking", "requestBody"]
30 } 30 }
31 }, 31 },
32 {"type": "string", "name": "eventName"}, 32 {"type": "string", "name": "eventName"},
33 {"type": "string", "name": "subEventName"} 33 {"type": "string", "name": "subEventName"}
34 ] 34 ]
35 }, 35 },
36 { 36 {
37 "name": "eventHandled", 37 "name": "eventHandled",
38 "type": "function", 38 "type": "function",
39 "description": "Used internally to send a response for a blocked event." , 39 "description": "Used internally to send a response for a blocked event." ,
40 "parameters": [ 40 "parameters": [
41 {"type": "string", "name": "eventName"}, 41 {"type": "string", "name": "eventName"},
42 {"type": "string", "name": "subEventName"}, 42 {"type": "string", "name": "subEventName"},
43 {"type": "string", "name": "requestId"}, 43 {"type": "string", "name": "requestId"},
44 { 44 {
45 "$ref": "webRequest.BlockingResponse", 45 "$ref": "webRequest.BlockingResponse",
46 "optional": true, 46 "optional": true,
47 "name": "response" 47 "name": "response"
48 } 48 }
49 ] 49 ]
50 } 50 }
51 ] 51 ]
52 } 52 }
53 ] 53 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/web_request.json ('k') | chrome/common/extensions/docs/extensions/webRequest.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698