blob: 569992cae4cfb205ceaecdc5e5f5d9669f9a0a6f [file] [log] [blame]
// Copyright 2019 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;
import "services/network/public/mojom/quic_transport.mojom";
import "url/mojom/url.mojom";
// An interface for creating a QuicTransport connection from the renderer,
// implemented in the browser process.
interface QuicTransportConnector {
// Starts an opening handshake.
// It is recommended to detect mojo connection errors on |client|.
Connect(
url.mojom.Url url,
array<network.mojom.QuicTransportCertificateFingerprint> fingerprints,
pending_remote<network.mojom.QuicTransportHandshakeClient> client);
};