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

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

Issue 584163004: Move web_request directory to //extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase again Created 6 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
« no previous file with comments | « chrome/common/extensions/api/web_request.json ('k') | extensions/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 [
6 {
7 "namespace": "webRequestInternal",
8 "description": "none",
9 "compiler_options": {
10 "implemented_in": "chrome/browser/extensions/api/web_request/web_request_a pi.h"
11 },
12 "functions": [
13 {
14 "name": "addEventListener",
15 "type": "function",
16 "description": "Used internally to implement the special form of addList ener for the webRequest events.",
17 "parameters": [
18 {"type": "function", "name": "callback"},
19 {
20 "$ref": "webRequest.RequestFilter",
21 "name": "filter",
22 "description": "A set of filters that restricts the events that will be sent to this listener."
23 },
24 {
25 "type": "array",
26 "optional": true,
27 "name": "extraInfoSpec",
28 "description": "Array of extra information that should be passed to the listener function.",
29 "items": {
30 "type": "string",
31 "enum": ["requestHeaders", "responseHeaders", "blocking", "asyncBl ocking", "requestBody"]
32 }
33 },
34 {"type": "string", "name": "eventName"},
35 {"type": "string", "name": "subEventName"},
36 {"type": "integer", "name": "webViewInstanceId"}
37 ]
38 },
39 {
40 "name": "eventHandled",
41 "type": "function",
42 "description": "Used internally to send a response for a blocked event." ,
43 "parameters": [
44 {"type": "string", "name": "eventName"},
45 {"type": "string", "name": "subEventName"},
46 {"type": "string", "name": "requestId"},
47 {
48 "$ref": "webRequest.BlockingResponse",
49 "optional": true,
50 "name": "response"
51 }
52 ]
53 }
54 ]
55 }
56 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/web_request.json ('k') | extensions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698