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

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

Issue 10310028: Making webRequest.addEventListener internal (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implicit internal permissions for webRequest 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 unified diff | Download patch | Annotate | Revision Log
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 "internal": true,
9 "functions": [
10 {
11 "name": "addEventListener",
12 "nodoc": true,
battre 2012/05/15 09:23:38 You should move this "nodoc": true one level up. O
vabr (Chromium) 2012/05/15 11:57:52 Done. Still, would not internal:true for the whole
13 "type": "function",
14 "description": "Used internally to implement the special form of addList ener for the webRequest events.",
15 "parameters": [
16 {"type": "function", "name": "callback"},
17 {
18 "$ref": "webRequest.RequestFilter",
19 "name": "filter",
20 "description": "A set of filters that restricts the events that will be sent to this listener."
21 },
22 {
23 "type": "array",
24 "optional": true,
25 "name": "extraInfoSpec",
26 "description": "Array of extra information that should be passed to the listener function.",
27 "items": {
28 "type": "string",
29 "enum": ["requestHeaders", "responseHeaders", "blocking", "asyncBl ocking"]
30 }
31 },
32 {"type": "string", "name": "eventName"},
33 {"type": "string", "name": "subEventName"}
34 ]
35 }
36 ]
37 }
38 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698