#include "net/base/connection_endpoint_metadata.h"
#include <optional>
#include <string>
#include <utility>
#include <vector>
#include "base/base64.h"
#include "base/values.h"
namespace net {
namespace {
const char kSupportedProtocolAlpnsKey[] = …;
const char kEchConfigListKey[] = …;
const char kTargetNameKey[] = …;
}
ConnectionEndpointMetadata::ConnectionEndpointMetadata() = default;
ConnectionEndpointMetadata::ConnectionEndpointMetadata(
std::vector<std::string> supported_protocol_alpns,
EchConfigList ech_config_list,
std::string target_name)
: … { … }
ConnectionEndpointMetadata::~ConnectionEndpointMetadata() = default;
ConnectionEndpointMetadata::ConnectionEndpointMetadata(
const ConnectionEndpointMetadata&) = default;
ConnectionEndpointMetadata::ConnectionEndpointMetadata(
ConnectionEndpointMetadata&&) = default;
base::Value ConnectionEndpointMetadata::ToValue() const { … }
std::optional<ConnectionEndpointMetadata> ConnectionEndpointMetadata::FromValue(
const base::Value& value) { … }
}