| Index: third_party/WebKit/public/platform/modules/serviceworker/service_worker_stream_handle.mojom
|
| diff --git a/third_party/WebKit/public/platform/modules/serviceworker/service_worker_stream_handle.mojom b/third_party/WebKit/public/platform/modules/serviceworker/service_worker_stream_handle.mojom
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..968a6e8ae7078708275703b69ee1a74185956a76
|
| --- /dev/null
|
| +++ b/third_party/WebKit/public/platform/modules/serviceworker/service_worker_stream_handle.mojom
|
| @@ -0,0 +1,17 @@
|
| +// Copyright 2017 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.
|
| +
|
| +module blink.mojom;
|
| +
|
| +// The renderer uses this interface to notify the browser that the stream
|
| +// response passed to respondWith() ended.
|
| +interface ServiceWorkerStreamCallback {
|
| + OnCompleted();
|
| + OnAborted();
|
| +};
|
| +
|
| +struct ServiceWorkerStreamHandle {
|
| + handle<data_pipe_consumer> stream;
|
| + ServiceWorkerStreamCallback& callback_request;
|
| +};
|
|
|