chromium/net/base/proxy_chain.cc

// Copyright 2023 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/proxy_chain.h"

#include <ostream>
#include <vector>

#include "base/check.h"
#include "base/no_destructor.h"
#include "base/pickle.h"
#include "base/ranges/algorithm.h"
#include "base/strings/stringprintf.h"
#include "net/base/proxy_server.h"
#include "net/base/proxy_string_util.h"

namespace net {

ProxyChain::ProxyChain() {}

ProxyChain::ProxyChain(const ProxyChain& other) = default;
ProxyChain::ProxyChain(ProxyChain&& other) noexcept = default;

ProxyChain& ProxyChain::operator=(const ProxyChain& other) = default;
ProxyChain& ProxyChain::operator=(ProxyChain&& other) noexcept = default;
ProxyChain::~ProxyChain() = default;

ProxyChain::ProxyChain(ProxyServer proxy_server)
    :{}

ProxyChain::ProxyChain(ProxyServer::Scheme scheme,
                       const HostPortPair& host_port_pair)
    :{}

ProxyChain::ProxyChain(std::vector<ProxyServer> proxy_server_list)
    :{}

bool ProxyChain::InitFromPickle(base::PickleIterator* pickle_iter) {}

void ProxyChain::Persist(base::Pickle* pickle) const {}

const ProxyServer& ProxyChain::GetProxyServer(size_t chain_index) const {}

const std::vector<ProxyServer>& ProxyChain::proxy_servers() const {}

std::pair<ProxyChain, const ProxyServer&> ProxyChain::SplitLast() const {}

ProxyChain ProxyChain::Prefix(size_t len) const {}

const ProxyServer& ProxyChain::First() const {}

const ProxyServer& ProxyChain::Last() const {}

std::string ProxyChain::ToDebugString() const {}

ProxyChain::ProxyChain(std::vector<ProxyServer> proxy_server_list,
                       int ip_protection_chain_id)
    :{}

bool ProxyChain::IsValidInternal() const {}

std::ostream& operator<<(std::ostream& os, const ProxyChain& proxy_chain) {}

}  // namespace net