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

Unified Diff: net/quic/quic_client_session.h

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 QuicSessionKey as arg and delete server_hostname as arg 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/quic_client_session.h
diff --git a/net/quic/quic_client_session.h b/net/quic/quic_client_session.h
index 204d397b8e01cddbe6703430e2da1cb1645d0c6d..4a30aad7109bc32fc667a234125339e8fffef0c6 100644
--- a/net/quic/quic_client_session.h
+++ b/net/quic/quic_client_session.h
@@ -29,6 +29,7 @@ class DatagramClientSocket;
class QuicConnectionHelper;
class QuicCryptoClientStreamFactory;
class QuicDefaultPacketWriter;
+class QuicSessionKey;
class QuicStreamFactory;
class SSLInfo;
@@ -91,7 +92,7 @@ class NET_EXPORT_PRIVATE QuicClientSession : public QuicSession {
scoped_ptr<QuicDefaultPacketWriter> writer,
QuicStreamFactory* stream_factory,
QuicCryptoClientStreamFactory* crypto_client_stream_factory,
- const std::string& server_hostname,
+ const QuicSessionKey& session_key,
const QuicConfig& config,
QuicCryptoClientConfig* crypto_config,
NetLog* net_log);

Powered by Google App Engine
This is Rietveld 408576698