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..b05319da0bba1404c1e3f57f29f52573d76f2183 | 
| --- /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 tell the browser when stream response | 
| 
 
falken
2017/04/12 08:00:16
nit: "when the"
 
haraken
2017/04/13 05:03:44
...to notify the browser that the stream response.
 
shimazu
2017/04/18 01:50:05
Done.
 
 | 
| +// passed to respondWith() ended. | 
| +interface ServiceWorkerStreamCallback { | 
| + OnCompleted(); | 
| + OnAborted(); | 
| +}; | 
| + | 
| +struct ServiceWorkerStreamHandle { | 
| + handle<data_pipe_consumer> stream; | 
| + ServiceWorkerStreamCallback& callback_request; | 
| +}; |