Index: net/quic/quic_crypto_client_stream.h |
=================================================================== |
--- net/quic/quic_crypto_client_stream.h (revision 174485) |
+++ net/quic/quic_crypto_client_stream.h (working copy) |
@@ -21,7 +21,16 @@ |
virtual void OnHandshakeMessage( |
const CryptoHandshakeMessage& message) OVERRIDE; |
+ // Performs a crypto handshake with the server. Returns true if the crypto |
+ // handshake is started successfully. |
+ bool CryptoConnect(); |
+ |
private: |
+ // Data members for encoding the ClientHello message. |
+ QuicClientHelloConfig client_hello_config_; |
+ // Client's connection nonce (4-byte timestamp + 28 random bytes) |
+ std::string nonce_; |
Ryan Hamilton
2012/12/22 22:31:32
nit: #include <string>
|
+ |
DISALLOW_COPY_AND_ASSIGN(QuicCryptoClientStream); |
}; |