chromium/net/base/address_list.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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)
    :{}

// static
AddressList AddressList::CreateFromIPAddress(const IPAddress& address,
                                             uint16_t port) {}

// static
AddressList AddressList::CreateFromIPAddressList(
    const IPAddressList& addresses,
    std::vector<std::string> aliases) {}

// static
AddressList AddressList::CreateFromAddrinfo(const struct addrinfo* head) {}

// static
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() {}

}  // namespace net