#include "net/socket/client_socket_pool_manager_impl.h"
#include <algorithm>
#include <utility>
#include "base/check_op.h"
#include "base/values.h"
#include "net/base/proxy_chain.h"
#include "net/base/proxy_server.h"
#include "net/base/proxy_string_util.h"
#include "net/http/http_network_session.h"
#include "net/socket/socks_connect_job.h"
#include "net/socket/ssl_connect_job.h"
#include "net/socket/transport_client_socket_pool.h"
#include "net/socket/transport_connect_job.h"
#include "net/socket/websocket_transport_client_socket_pool.h"
namespace net {
class SocketPerformanceWatcherFactory;
ClientSocketPoolManagerImpl::ClientSocketPoolManagerImpl(
const CommonConnectJobParams& common_connect_job_params,
const CommonConnectJobParams& websocket_common_connect_job_params,
HttpNetworkSession::SocketPoolType pool_type,
bool cleanup_on_ip_address_change)
: … { … }
ClientSocketPoolManagerImpl::~ClientSocketPoolManagerImpl() { … }
void ClientSocketPoolManagerImpl::FlushSocketPoolsWithError(
int net_error,
const char* net_log_reason_utf8) { … }
void ClientSocketPoolManagerImpl::CloseIdleSockets(
const char* net_log_reason_utf8) { … }
ClientSocketPool* ClientSocketPoolManagerImpl::GetSocketPool(
const ProxyChain& proxy_chain) { … }
base::Value ClientSocketPoolManagerImpl::SocketPoolInfoToValue() const { … }
}