#include "net/quic/quic_session_pool_job.h"
#include "base/memory/weak_ptr.h"
#include "base/not_fatal_until.h"
#include "net/base/completion_once_callback.h"
#include "net/base/network_change_notifier.h"
#include "net/base/network_handle.h"
#include "net/base/proxy_chain.h"
#include "net/base/request_priority.h"
#include "net/base/trace_constants.h"
#include "net/base/tracing.h"
#include "net/dns/host_resolver.h"
#include "net/log/net_log_with_source.h"
#include "net/quic/address_utils.h"
#include "net/quic/quic_crypto_client_config_handle.h"
#include "net/quic/quic_http_stream.h"
#include "net/quic/quic_session_pool.h"
#include "net/third_party/quiche/src/quiche/quic/core/quic_versions.h"
namespace net {
namespace {
base::Value::Dict NetLogQuicSessionPoolJobParams(
const QuicSessionAliasKey* key) { … }
}
QuicSessionPool::Job::Job(
QuicSessionPool* pool,
QuicSessionAliasKey key,
std::unique_ptr<CryptoClientConfigHandle> client_config_handle,
RequestPriority priority,
const NetLogWithSource& net_log)
: … { … }
QuicSessionPool::Job::~Job() { … }
void QuicSessionPool::Job::AddRequest(QuicSessionRequest* request) { … }
void QuicSessionPool::Job::RemoveRequest(QuicSessionRequest* request) { … }
void QuicSessionPool::Job::SetPriority(RequestPriority priority) { … }
void QuicSessionPool::Job::AssociateWithNetLogSource(
const NetLogWithSource& http_stream_job_net_log) const { … }
QuicSessionPool* QuicSessionPool::Job::GetQuicSessionPool() { … }
const QuicSessionAliasKey& QuicSessionPool::Job::GetKey() { … }
const NetLogWithSource& QuicSessionPool::Job::GetNetLog() { … }
void QuicSessionPool::Job::OnConnectionFailedOnDefaultNetwork() { … }
void QuicSessionPool::Job::OnQuicSessionCreationComplete(int rv) { … }
void QuicSessionPool::Job::UpdatePriority(RequestPriority old_priority,
RequestPriority new_priority) { … }
}