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

Unified Diff: net/quic/test_tools/mock_crypto_client_stream.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: use : instead of / as host, port separator 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.cc
diff --git a/net/quic/test_tools/mock_crypto_client_stream.cc b/net/quic/test_tools/mock_crypto_client_stream.cc
index 7dd3ffe7a698dff7bcb7701bf40c9218f59e2655..b1fded53042d59ae12e590199617277259d55cf7 100644
--- a/net/quic/test_tools/mock_crypto_client_stream.cc
+++ b/net/quic/test_tools/mock_crypto_client_stream.cc
@@ -10,11 +10,13 @@ namespace net {
MockCryptoClientStream::MockCryptoClientStream(
const string& server_hostname,
+ uint16 server_port,
QuicSession* session,
QuicCryptoClientConfig* crypto_config,
HandshakeMode handshake_mode,
const SSLInfo* ssl_info)
- : QuicCryptoClientStream(server_hostname, session, crypto_config),
+ : QuicCryptoClientStream(server_hostname, server_port, session,
+ crypto_config),
handshake_mode_(handshake_mode),
ssl_info_(ssl_info) {
}

Powered by Google App Engine
This is Rietveld 408576698