| Index: chrome/common/extensions/api/streams_private.idl
|
| diff --git a/chrome/common/extensions/api/streams_private.idl b/chrome/common/extensions/api/streams_private.idl
|
| index 2d3badaa9a225760c474a66f5148ae817ce18ced..69d48f17a137ce6fcae90bbacea1cf5204ef189f 100644
|
| --- a/chrome/common/extensions/api/streams_private.idl
|
| +++ b/chrome/common/extensions/api/streams_private.idl
|
| @@ -29,6 +29,17 @@ namespace streamsPrivate {
|
| object responseHeaders;
|
| };
|
|
|
| + callback AbortCallback = void ();
|
| +
|
| + interface Functions {
|
| + // Abort the URL request on the given stream.
|
| + // |streamUrl| : The URL of the stream to abort.
|
| + // |callback| : Called when the stream URL is guaranteed to be invalid. The
|
| + // underlying URL request may not yet have been aborted when this is run.
|
| + static void abort(DOMString streamUrl,
|
| + optional AbortCallback callback);
|
| + };
|
| +
|
| interface Events {
|
| // Fired when a resource is fetched which matches a mime type handled by
|
| // this extension. The resource request is cancelled, and the extension is
|
|
|