#include "net/quic/web_transport_client.h"
#include <string_view>
#include "base/memory/raw_ptr.h"
#include "net/quic/dedicated_web_transport_http3_client.h"
namespace net {
namespace {
class FailedWebTransportClient : public WebTransportClient { … };
}
std::ostream& operator<<(std::ostream& os, WebTransportState state) { … }
const char* WebTransportStateString(WebTransportState state) { … }
WebTransportCloseInfo::WebTransportCloseInfo() = default;
WebTransportCloseInfo::WebTransportCloseInfo(uint32_t code,
std::string_view reason)
: … { … }
WebTransportCloseInfo::~WebTransportCloseInfo() = default;
bool WebTransportCloseInfo::operator==(
const WebTransportCloseInfo& other) const { … }
WebTransportClientVisitor::~WebTransportClientVisitor() = default;
WebTransportParameters::WebTransportParameters() = default;
WebTransportParameters::~WebTransportParameters() = default;
WebTransportParameters::WebTransportParameters(const WebTransportParameters&) =
default;
WebTransportParameters::WebTransportParameters(WebTransportParameters&&) =
default;
std::unique_ptr<WebTransportClient> CreateWebTransportClient(
const GURL& url,
const url::Origin& origin,
WebTransportClientVisitor* visitor,
const NetworkAnonymizationKey& anonymization_key,
URLRequestContext* context,
const WebTransportParameters& parameters) { … }
}