OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 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":"streamsPrivate", | 7 "namespace":"streamsPrivate", |
8 "types": [ | 8 "description": "none", |
9 ], | |
10 | |
11 "events": [ | 9 "events": [ |
12 { | 10 { |
13 "name": "onExecuteMimeTypeHandler", | 11 "name": "onExecuteMimeTypeHandler", |
14 "type": "function", | 12 "type": "function", |
15 "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.", | 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.", |
16 "parameters": [ | 14 "parameters": [ |
17 { | 15 { |
18 "name": "mimeType", | 16 "name": "mimeType", |
19 "type": "string", | 17 "type": "string", |
20 "description": "The MIME type of the intercepted URL request." | 18 "description": "The MIME type of the intercepted URL request." |
(...skipping 20 matching lines...) Expand all Loading... |
41 } | 39 } |
42 ] | 40 ] |
43 } | 41 } |
44 ], | 42 ], |
45 | 43 |
46 "functions": [ | 44 "functions": [ |
47 ] | 45 ] |
48 } | 46 } |
49 ] | 47 ] |
50 | 48 |
OLD | NEW |