summaryrefslogtreecommitdiffstats
path: root/net/quic/quic_crypto_server_stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/quic/quic_crypto_server_stream.h')
-rw-r--r--net/quic/quic_crypto_server_stream.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/net/quic/quic_crypto_server_stream.h b/net/quic/quic_crypto_server_stream.h
index 7841172..3e4264a 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_;