Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(437)

Unified Diff: net/quic/test_tools/mock_crypto_client_stream.h

Issue 14083012: QUIC: retransmit packets with the correct encryption. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: zero rtt test Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/quic/test_tools/mock_crypto_client_stream.h
diff --git a/net/quic/test_tools/mock_crypto_client_stream.h b/net/quic/test_tools/mock_crypto_client_stream.h
index 2d9fdc322104e29c1ce74ad270cbadb77d2ec6f4..d1f73c3bbeabf440375d437d42baaf99d5a95664 100644
--- a/net/quic/test_tools/mock_crypto_client_stream.h
+++ b/net/quic/test_tools/mock_crypto_client_stream.h
@@ -10,15 +10,18 @@
#include "net/quic/crypto/crypto_handshake.h"
#include "net/quic/quic_crypto_client_stream.h"
#include "net/quic/quic_session.h"
+#include "net/quic/test_tools/mock_crypto_client_stream_factory.h"
Ryan Hamilton 2013/05/01 23:47:32 I think you can remove this include once you move
ramant (doing other things) 2013/05/02 00:08:05 Done.
namespace net {
class MockCryptoClientStream : public QuicCryptoClientStream {
public:
- MockCryptoClientStream(const string& server_hostname,
- const QuicConfig& config,
- QuicSession* session,
- QuicCryptoClientConfig* crypto_config);
+ MockCryptoClientStream(
+ const string& server_hostname,
+ const QuicConfig& config,
+ QuicSession* session,
+ QuicCryptoClientConfig* crypto_config,
+ MockCryptoClientStreamFactory::HandshakeMode handshake_mode);
virtual ~MockCryptoClientStream();
// CryptoFramerVisitorInterface implementation.
@@ -27,6 +30,8 @@ class MockCryptoClientStream : public QuicCryptoClientStream {
// QuicCryptoClientStream implementation.
virtual bool CryptoConnect() OVERRIDE;
+
+ MockCryptoClientStreamFactory::HandshakeMode handshake_mode_;
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698