| 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..3967f19c1adb704a3e6aa27461bbb66d8e7ff6bd 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,8 @@ class NET_EXPORT_PRIVATE QuicCryptoClientStream : public QuicCryptoStream {
|
|
|
| enum State {
|
| STATE_IDLE,
|
| + STATE_LOAD_QUIC_SERVER_INFO,
|
| + STATE_LOAD_QUIC_SERVER_INFO_COMPLETE,
|
| STATE_SEND_CHLO,
|
| STATE_RECV_REJ,
|
| STATE_VERIFY_PROOF,
|
| @@ -86,6 +90,15 @@ 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);
|
|
|
| + // TODO(rtenneti): convert the other states of the state machine into DoXXX
|
| + // functions.
|
| +
|
| + // Call QuicServerInfo's WaitForDataReady to load the server information from
|
| + // the disk cache.
|
| + int DoLoadQuicServerInfo(QuicCryptoClientConfig::CachedState* cached);
|
| + void DoLoadQuicServerInfoComplete(
|
| + QuicCryptoClientConfig::CachedState* cached);
|
| +
|
| State next_state_;
|
| // num_client_hellos_ contains the number of client hello messages that this
|
| // connection has sent.
|
|
|