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

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: Merge with TOT 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..d87b508dda5dda9354b182ac4f00bddc74361b7a 100644
--- a/net/quic/test_tools/mock_crypto_client_stream_factory.cc
+++ b/net/quic/test_tools/mock_crypto_client_stream_factory.cc
@@ -6,6 +6,7 @@
#include "base/lazy_instance.h"
#include "net/quic/quic_crypto_client_stream.h"
+#include "net/quic/quic_session_key.h"
using std::string;
@@ -19,11 +20,11 @@ MockCryptoClientStreamFactory::MockCryptoClientStreamFactory()
QuicCryptoClientStream*
MockCryptoClientStreamFactory::CreateQuicCryptoClientStream(
- const string& server_hostname,
+ const QuicSessionKey& server_key,
QuicSession* session,
QuicCryptoClientConfig* crypto_config) {
last_stream_ = new MockCryptoClientStream(
- server_hostname, session, crypto_config, handshake_mode_, ssl_info_);
+ server_key, session, crypto_config, handshake_mode_, ssl_info_);
return last_stream_;
}

Powered by Google App Engine
This is Rietveld 408576698