Index: net/quic/quic_crypto_client_stream.h |
diff --git a/net/quic/quic_crypto_client_stream.h b/net/quic/quic_crypto_client_stream.h |
index 1ca423f012b25c022000d69ac2cc0cdb77d20c87..8712a557934acc21f276b0a628d6fb9a6e13be7e 100644 |
--- a/net/quic/quic_crypto_client_stream.h |
+++ b/net/quic/quic_crypto_client_stream.h |
@@ -48,6 +48,8 @@ class NET_EXPORT_PRIVATE QuicCryptoClientStream : public QuicCryptoStream { |
// Gets the SSL connection information. |
virtual bool GetSSLInfo(SSLInfo* ssl_info); |
+ void OnIOComplete(int result); |
+ |
private: |
// ProofVerifierCallbackImpl is passed as the callback method to VerifyProof. |
// The ProofVerifier calls this class with the result of proof verification |
@@ -75,6 +77,7 @@ class NET_EXPORT_PRIVATE QuicCryptoClientStream : public QuicCryptoStream { |
enum State { |
STATE_IDLE, |
+ STATE_LOAD_QUIC_SERVER_INFO, |
STATE_SEND_CHLO, |
STATE_RECV_REJ, |
STATE_VERIFY_PROOF, |
@@ -86,6 +89,10 @@ class NET_EXPORT_PRIVATE QuicCryptoClientStream : public QuicCryptoStream { |
// |in| may be NULL if the call did not result from a received message |
void DoHandshakeLoop(const CryptoHandshakeMessage* in); |
+ // Calls QuicServerInfo's WaitForDataReady to load the server information from |
+ // the disk cache. |
+ int DoLoadQuicServerInfo(QuicCryptoClientConfig::CachedState* cached); |
wtc
2014/02/07 00:54:11
Right now STATE_LOAD_QUIC_SERVER_INFO is the only
ramant (doing other things)
2014/02/07 20:30:51
Added a TODO.
Done.
|
+ |
State next_state_; |
// num_client_hellos_ contains the number of client hello messages that this |
// connection has sent. |