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

Unified Diff: net/quic/test_tools/mock_crypto_client_stream_factory.cc

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_factory.cc
diff --git a/net/quic/test_tools/mock_crypto_client_stream_factory.cc b/net/quic/test_tools/mock_crypto_client_stream_factory.cc
index f774328f2cc4284648a5da70dba1f4d7b058a254..61fbda5946258a2d6e80945049feae1d211798f5 100644
--- a/net/quic/test_tools/mock_crypto_client_stream_factory.cc
+++ b/net/quic/test_tools/mock_crypto_client_stream_factory.cc
@@ -12,6 +12,10 @@ using std::string;
namespace net {
+MockCryptoClientStreamFactory::MockCryptoClientStreamFactory()
+ : handshake_mode_(CONFIRM_HANDSHAKE) {
+}
+
QuicCryptoClientStream*
MockCryptoClientStreamFactory::CreateQuicCryptoClientStream(
const string& server_hostname,
@@ -19,7 +23,7 @@ MockCryptoClientStreamFactory::CreateQuicCryptoClientStream(
QuicSession* session,
QuicCryptoClientConfig* crypto_config) {
return new MockCryptoClientStream(server_hostname, config, session,
- crypto_config);
+ crypto_config, handshake_mode_);
}
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698