#include "net/base/address_list.h"
#include <iterator>
#include <string>
#include <utility>
#include <vector>
#include "base/containers/flat_map.h"
#include "base/logging.h"
#include "base/values.h"
#include "net/base/sys_addrinfo.h"
namespace net {
AddressList::AddressList() = default;
AddressList::AddressList(const AddressList&) = default;
AddressList& AddressList::operator=(const AddressList&) = default;
AddressList::AddressList(AddressList&&) = default;
AddressList& AddressList::operator=(AddressList&&) = default;
AddressList::~AddressList() = default;
AddressList::AddressList(const IPEndPoint& endpoint) { … }
AddressList::AddressList(const IPEndPoint& endpoint,
std::vector<std::string> aliases)
: … { … }
AddressList::AddressList(std::vector<IPEndPoint> endpoints)
: … { … }
AddressList AddressList::CreateFromIPAddress(const IPAddress& address,
uint16_t port) { … }
AddressList AddressList::CreateFromIPAddressList(
const IPAddressList& addresses,
std::vector<std::string> aliases) { … }
AddressList AddressList::CreateFromAddrinfo(const struct addrinfo* head) { … }
AddressList AddressList::CopyWithPort(const AddressList& list, uint16_t port) { … }
void AddressList::SetDefaultCanonicalName() { … }
void AddressList::SetDnsAliases(std::vector<std::string> aliases) { … }
void AddressList::AppendDnsAliases(std::vector<std::string> aliases) { … }
base::Value::Dict AddressList::NetLogParams() const { … }
void AddressList::Deduplicate() { … }
}