Index: net/quic/quic_crypto_server_stream.h |
diff --git a/net/quic/quic_crypto_server_stream.h b/net/quic/quic_crypto_server_stream.h |
index 7841172f9815ee0f629c6ecfe88eb5aef37130d3..3e4264a6fca36db69634080e051aaa5f01a8a1f6 100644 |
--- a/net/quic/quic_crypto_server_stream.h |
+++ b/net/quic/quic_crypto_server_stream.h |
@@ -8,10 +8,14 @@ |
#include <string> |
#include "net/quic/crypto/crypto_handshake.h" |
+#include "net/quic/quic_config.h" |
#include "net/quic/quic_crypto_stream.h" |
namespace net { |
+class CryptoHandshakeMessage; |
+class QuicCryptoServerConfig; |
+class QuicNegotiatedParameters; |
class QuicSession; |
namespace test { |
@@ -20,6 +24,9 @@ class CryptoTestUtils; |
class NET_EXPORT_PRIVATE QuicCryptoServerStream : public QuicCryptoStream { |
public: |
+ QuicCryptoServerStream(const QuicConfig& config, |
+ const QuicCryptoServerConfig& crypto_config, |
+ QuicSession* session); |
explicit QuicCryptoServerStream(QuicSession* session); |
virtual ~QuicCryptoServerStream(); |
@@ -35,10 +42,9 @@ class NET_EXPORT_PRIVATE QuicCryptoServerStream : public QuicCryptoStream { |
// config_ contains non-crypto parameters that are negotiated in the crypto |
// handshake. |
- QuicConfig config_; |
+ const QuicConfig& config_; |
// crypto_config_ contains crypto parameters for the handshake. |
- QuicCryptoServerConfig crypto_config_; |
- std::string server_nonce_; |
+ const QuicCryptoServerConfig& crypto_config_; |
QuicNegotiatedParameters negotiated_params_; |
QuicCryptoNegotiatedParameters crypto_negotiated_params_; |