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

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

Issue 192583004: QUIC - use QuicSessionKey tuple (host, port, is_https) instead of server_hostname (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reupload Created 6 years, 9 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 671a87210e58da38bb9f88e79b42940825119842..18923a61bb09e8991f57304b18d00579b699c68e 100644
--- a/net/quic/test_tools/mock_crypto_client_stream_factory.cc
+++ b/net/quic/test_tools/mock_crypto_client_stream_factory.cc
@@ -20,10 +20,11 @@ MockCryptoClientStreamFactory::MockCryptoClientStreamFactory()
QuicCryptoClientStream*
MockCryptoClientStreamFactory::CreateQuicCryptoClientStream(
const string& server_hostname,
+ uint16 server_port,
QuicSession* session,
QuicCryptoClientConfig* crypto_config) {
- last_stream_ = new MockCryptoClientStream(
- server_hostname, session, crypto_config, handshake_mode_, ssl_info_);
+ last_stream_ = new MockCryptoClientStream(server_hostname, server_port,
Ryan Hamilton 2014/03/10 20:57:33 nit: I think this wrapping is unusual. I think th
ramant (doing other things) 2014/03/11 00:48:50 Done.
+ session, crypto_config, handshake_mode_, ssl_info_);
return last_stream_;
}

Powered by Google App Engine
This is Rietveld 408576698