blob: 5b216daf5d7c2cca948f12b570c76aa1e8697c53 [file] [log] [blame]
// 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;
};