#include "net/http/http_stream_pool_job.h"
#include <memory>
#include "base/memory/raw_ptr.h"
#include "net/base/net_error_details.h"
#include "net/base/net_export.h"
#include "net/dns/public/resolve_error_info.h"
#include "net/http/http_stream_pool.h"
#include "net/http/http_stream_pool_attempt_manager.h"
#include "net/socket/connection_attempts.h"
#include "net/socket/next_proto.h"
#include "net/socket/stream_socket.h"
#include "net/ssl/ssl_cert_request_info.h"
#include "net/ssl/ssl_info.h"
namespace net {
HttpStreamPool::Job::Job(Delegate* delegate, AttemptManager* attempt_manager)
: … { … }
HttpStreamPool::Job::~Job() = default;
LoadState HttpStreamPool::Job::GetLoadState() const { … }
void HttpStreamPool::Job::SetPriority(RequestPriority priority) { … }
void HttpStreamPool::Job::NotifyAttemptManagerOfCompletion() { … }
void HttpStreamPool::Job::AddConnectionAttempts(
const ConnectionAttempts& attempts) { … }
void HttpStreamPool::Job::OnStreamReady(std::unique_ptr<HttpStream> stream,
NextProto negotiated_protocol) { … }
void HttpStreamPool::Job::OnStreamFailed(
int status,
const NetErrorDetails& net_error_details,
ResolveErrorInfo resolve_error_info) { … }
void HttpStreamPool::Job::OnCertificateError(int status,
const SSLInfo& ssl_info) { … }
void HttpStreamPool::Job::OnNeedsClientAuth(SSLCertRequestInfo* cert_info) { … }
}