chromium/net/third_party/quiche/src/quiche/quic/core/quic_types.cc

// Copyright 2014 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.

#include "quiche/quic/core/quic_types.h"

#include <cstdint>
#include <ostream>
#include <string>
#include <type_traits>

#include "absl/strings/str_cat.h"
#include "quiche/quic/core/quic_error_codes.h"
#include "quiche/common/print_elements.h"

namespace quic {

static_assert;

std::ostream& operator<<(std::ostream& os, const QuicConsumedData& s) {}

std::string PerspectiveToString(Perspective perspective) {}

std::ostream& operator<<(std::ostream& os, const Perspective& perspective) {}

std::string ConnectionCloseSourceToString(
    ConnectionCloseSource connection_close_source) {}

std::ostream& operator<<(std::ostream& os,
                         const ConnectionCloseSource& connection_close_source) {}

std::string ConnectionCloseBehaviorToString(
    ConnectionCloseBehavior connection_close_behavior) {}

std::ostream& operator<<(
    std::ostream& os,
    const ConnectionCloseBehavior& connection_close_behavior) {}

std::ostream& operator<<(std::ostream& os, const AckedPacket& acked_packet) {}

std::ostream& operator<<(std::ostream& os, const LostPacket& lost_packet) {}

std::string HistogramEnumString(WriteStatus enum_value) {}

std::ostream& operator<<(std::ostream& os, const WriteStatus& status) {}

std::ostream& operator<<(std::ostream& os, const WriteResult& s) {}

MessageResult::MessageResult(MessageStatus status, QuicMessageId message_id)
    :{}

#define RETURN_STRING_LITERAL

std::string QuicFrameTypeToString(QuicFrameType t) {}

std::ostream& operator<<(std::ostream& os, const QuicFrameType& t) {}

std::string QuicIetfFrameTypeString(QuicIetfFrameType t) {}
std::ostream& operator<<(std::ostream& os, const QuicIetfFrameType& c) {}

std::string TransmissionTypeToString(TransmissionType transmission_type) {}

std::ostream& operator<<(std::ostream& os, TransmissionType transmission_type) {}

std::string PacketHeaderFormatToString(PacketHeaderFormat format) {}

std::string QuicLongHeaderTypeToString(QuicLongHeaderType type) {}

std::string MessageStatusToString(MessageStatus message_status) {}

std::string MessageResultToString(MessageResult message_result) {}

std::ostream& operator<<(std::ostream& os, const MessageResult& mr) {}

std::string PacketNumberSpaceToString(PacketNumberSpace packet_number_space) {}

std::string SerializedPacketFateToString(SerializedPacketFate fate) {}

std::ostream& operator<<(std::ostream& os, SerializedPacketFate fate) {}

std::string CongestionControlTypeToString(CongestionControlType cc_type) {}

std::string EncryptionLevelToString(EncryptionLevel level) {}

std::ostream& operator<<(std::ostream& os, EncryptionLevel level) {}

absl::string_view ClientCertModeToString(ClientCertMode mode) {}

std::ostream& operator<<(std::ostream& os, ClientCertMode mode) {}

std::string QuicConnectionCloseTypeString(QuicConnectionCloseType type) {}

std::ostream& operator<<(std::ostream& os, const QuicConnectionCloseType type) {}

std::string AddressChangeTypeToString(AddressChangeType type) {}

std::ostream& operator<<(std::ostream& os, AddressChangeType type) {}

std::string KeyUpdateReasonString(KeyUpdateReason reason) {}

std::ostream& operator<<(std::ostream& os, const KeyUpdateReason reason) {}

std::string ParsedClientHello::ToString() const {}

bool operator==(const ParsedClientHello& a, const ParsedClientHello& b) {}

std::ostream& operator<<(std::ostream& os,
                         const ParsedClientHello& parsed_chlo) {}

QUICHE_EXPORT std::string QuicPriorityTypeToString(QuicPriorityType type) {}
QUICHE_EXPORT std::ostream& operator<<(std::ostream& os,
                                       QuicPriorityType type) {}

std::string EcnCodepointToString(QuicEcnCodepoint ecn) {}

bool operator==(const QuicSSLConfig& lhs, const QuicSSLConfig& rhs) {}

#undef RETURN_STRING_LITERAL  // undef for jumbo builds

}  // namespace quic