Chromium Code Reviews| 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..6ffebad91aa8562fd81e628b393a666adfca5d11 |
| --- /dev/null |
| +++ b/third_party/WebKit/public/platform/modules/serviceworker/service_worker_stream_handle.mojom |
| @@ -0,0 +1,16 @@ |
| +// 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; |
| + |
| +// Notifies the end of streaming respondWith. |
|
falken
2017/04/10 01:21:57
"The renderer uses this interface to tell the brow
shimazu
2017/04/11 01:32:57
It sounds good. Thanks!
|
| +interface ServiceWorkerStreamCallback { |
| + OnCompleted(); |
| + OnAborted(); |
| +}; |
| + |
| +struct ServiceWorkerStreamHandle { |
| + handle<data_pipe_consumer> stream; |
| + ServiceWorkerStreamCallback& callback_request; |
| +}; |