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

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

Issue 132793014: Change streamsPrivate to use an IDL definition file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review fix Created 6 years, 10 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) 2013 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":"streamsPrivate",
8 "description": "none",
9 "events": [
10 {
11 "name": "onExecuteMimeTypeHandler",
12 "type": "function",
13 "description": "Fired when a resource is fetched which matches a mime ty pe handled by this extension. The resource request is cancelled, and the extensi on is expected to handle the request. The event is restricted to a small number of white-listed extensions.",
14 "parameters": [
15 {
16 "name": "mimeType",
17 "type": "string",
18 "description": "The MIME type of the intercepted URL request."
19 },
20 {
21 "name": "originalUrl",
22 "type": "string",
23 "description": "The original URL that was intercepted."
24 },
25 {
26 "name": "streamUrl",
27 "type": "string",
28 "description": "The URL that the stream can be read from."
29 },
30 {
31 "name": "tabId",
32 "type": "integer",
33 "description": "The ID of the tab that opened the stream. If the str eam is not opened in a tab, it will be -1."
34 },
35 {
36 "name": "expectedContentSize",
37 "type": "integer",
38 "description": "The amount of data the Stream should contain, if kno wn. If there is no information on the size it will be -1."
39 }
40 ]
41 }
42 ],
43
44 "functions": [
45 ]
46 }
47 ]
48
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/streams_private.idl ('k') | chrome/common/extensions_api_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698