#include "net/socket/tls_stream_attempt.h"
#include <memory>
#include "base/memory/scoped_refptr.h"
#include "net/base/completion_once_callback.h"
#include "net/base/host_port_pair.h"
#include "net/base/net_errors.h"
#include "net/socket/client_socket_factory.h"
#include "net/socket/tcp_stream_attempt.h"
#include "net/ssl/ssl_cert_request_info.h"
namespace net {
TlsStreamAttempt::TlsStreamAttempt(const StreamAttemptParams* params,
IPEndPoint ip_endpoint,
HostPortPair host_port_pair,
SSLConfigProvider* ssl_config_provider)
: … { … }
TlsStreamAttempt::~TlsStreamAttempt() = default;
LoadState TlsStreamAttempt::GetLoadState() const { … }
scoped_refptr<SSLCertRequestInfo> TlsStreamAttempt::GetCertRequestInfo() { … }
void TlsStreamAttempt::SetTcpHandshakeCompletionCallback(
CompletionOnceCallback callback) { … }
int TlsStreamAttempt::StartInternal() { … }
base::Value::Dict TlsStreamAttempt::GetNetLogStartParams() { … }
void TlsStreamAttempt::OnIOComplete(int rv) { … }
int TlsStreamAttempt::DoLoop(int rv) { … }
int TlsStreamAttempt::DoTcpAttempt() { … }
int TlsStreamAttempt::DoTcpAttemptComplete(int rv) { … }
int TlsStreamAttempt::DoTlsAttempt(int rv) { … }
int TlsStreamAttempt::DoTlsAttemptComplete(int rv) { … }
void TlsStreamAttempt::OnTlsHandshakeTimeout() { … }
}