#include "net/quic/quic_session_key.h"
#include <tuple>
#include "net/base/host_port_pair.h"
#include "net/base/network_anonymization_key.h"
#include "net/base/privacy_mode.h"
#include "net/base/proxy_chain.h"
#include "net/base/session_usage.h"
#include "net/dns/public/secure_dns_policy.h"
#include "net/socket/socket_tag.h"
#include "net/third_party/quiche/src/quiche/quic/core/quic_server_id.h"
namespace net {
QuicSessionKey::QuicSessionKey() = default;
QuicSessionKey::QuicSessionKey(
const HostPortPair& host_port_pair,
PrivacyMode privacy_mode,
const ProxyChain& proxy_chain,
SessionUsage session_usage,
const SocketTag& socket_tag,
const NetworkAnonymizationKey& network_anonymization_key,
SecureDnsPolicy secure_dns_policy,
bool require_dns_https_alpn)
: … { … }
QuicSessionKey::QuicSessionKey(
const std::string& host,
uint16_t port,
PrivacyMode privacy_mode,
const ProxyChain& proxy_chain,
SessionUsage session_usage,
const SocketTag& socket_tag,
const NetworkAnonymizationKey& network_anonymization_key,
SecureDnsPolicy secure_dns_policy,
bool require_dns_https_alpn)
: … { … }
QuicSessionKey::QuicSessionKey(
const quic::QuicServerId& server_id,
const ProxyChain& proxy_chain,
SessionUsage session_usage,
const SocketTag& socket_tag,
const NetworkAnonymizationKey& network_anonymization_key,
SecureDnsPolicy secure_dns_policy,
bool require_dns_https_alpn)
: … { … }
QuicSessionKey::QuicSessionKey(const QuicSessionKey& other) = default;
bool QuicSessionKey::operator<(const QuicSessionKey& other) const { … }
bool QuicSessionKey::operator==(const QuicSessionKey& other) const { … }
bool QuicSessionKey::CanUseForAliasing(const QuicSessionKey& other) const { … }
}