blob: a12c6872ef8771ac1c36adcaaba04183f92b45a5 [file] [log] [blame]
// Copyright 2020 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 network.mojom;
enum WebBundleErrorType {
// A handle to a WebBundle instance in the Network Service. Created by a
// renderer, and its remote endpoint is passed to the Network Service. The
// receiving endpoint is held in the renderer and closed to tell the Network
// Service that the Bundle is no longer needed.
interface WebBundleHandle {
// Used to create a copy of this handle.
Clone(pending_receiver<WebBundleHandle> receiver);
// Report errors to the renderer.
OnWebBundleError(WebBundleErrorType type, string message);