| Index: chrome/common/extensions/api/streams_private.json
|
| diff --git a/chrome/common/extensions/api/streams_private.json b/chrome/common/extensions/api/streams_private.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fa0e30584d5c7b35e5b2b0df049a74b178a125e5
|
| --- /dev/null
|
| +++ b/chrome/common/extensions/api/streams_private.json
|
| @@ -0,0 +1,35 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +[
|
| + {
|
| + "namespace":"streamsPrivate",
|
| + "types": [
|
| + ],
|
| +
|
| + "events": [
|
| + {
|
| + "name": "onExecuteMimeTypeHandler",
|
| + "type": "function",
|
| + "description": "Fired when a resource is fetched which matches a mime type handled by this extension. The resource request is cancelled, and the extension is expected to handle the request. The event is restricted to a small number of white-listed extensions.",
|
| + "parameters": [
|
| + {
|
| + "name": "mimeType",
|
| + "type": "string",
|
| + "description": "The MIME type of the intercepted URL request."
|
| + },
|
| + {
|
| + "name": "originalUrl",
|
| + "type": "string",
|
| + "description": "The original URL that was intercepted."
|
| + }
|
| + ]
|
| + }
|
| + ],
|
| +
|
| + "functions": [
|
| + ]
|
| + }
|
| +]
|
| +
|
|
|