Index: net/quic/quic_client_session.h |
diff --git a/net/quic/quic_client_session.h b/net/quic/quic_client_session.h |
index ca4d7b810468c947a26e7c0fb8e86089e33137e9..f12003e576d8041d84c26cf6be6330b541f0c7f1 100644 |
--- a/net/quic/quic_client_session.h |
+++ b/net/quic/quic_client_session.h |
@@ -99,6 +99,7 @@ class NET_EXPORT_PRIVATE QuicClientSession : public QuicClientSessionBase { |
const QuicConfig& config, |
uint32 max_flow_control_receive_window_bytes, |
QuicCryptoClientConfig* crypto_config, |
+ base::TaskRunner* task_runner, |
NetLog* net_log); |
virtual ~QuicClientSession(); |
@@ -150,6 +151,9 @@ class NET_EXPORT_PRIVATE QuicClientSession : public QuicClientSessionBase { |
int CryptoConnect(bool require_confirmation, |
const CompletionCallback& callback); |
+ // Resumes a crypto handshake with the server after a timeout. |
+ int ResumeCryptoConnect(const CompletionCallback& callback); |
+ |
// Causes the QuicConnectionHelper to start reading from the socket |
// and passing the data along to the QuicConnection. |
void StartReading(); |
@@ -214,6 +218,8 @@ class NET_EXPORT_PRIVATE QuicClientSession : public QuicClientSessionBase { |
// delete |this|. |
void NotifyFactoryOfSessionClosed(); |
+ void OnConnectTimeout(); |
+ |
bool require_confirmation_; |
scoped_ptr<QuicCryptoClientStream> crypto_stream_; |
QuicStreamFactory* stream_factory_; |
@@ -227,6 +233,7 @@ class NET_EXPORT_PRIVATE QuicClientSession : public QuicClientSessionBase { |
bool read_pending_; |
CompletionCallback callback_; |
size_t num_total_streams_; |
+ base::TaskRunner* task_runner_; |
BoundNetLog net_log_; |
QuicConnectionLogger logger_; |
// Number of packets read in the current read loop. |