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

Unified Diff: net/quic/quic_session_key.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/quic_session_key.cc
diff --git a/net/quic/quic_session_key.cc b/net/quic/quic_session_key.cc
index 1f6908a119008064aee0d254c8ffb0cb66009e15..836850fa4640798bfefb9a94702c9256d091de5a 100644
--- a/net/quic/quic_session_key.cc
+++ b/net/quic/quic_session_key.cc
@@ -13,6 +13,12 @@ QuicSessionKey::QuicSessionKey(const HostPortPair& host_port_pair,
: host_port_pair_(host_port_pair),
is_https_(is_https) {}
+QuicSessionKey::QuicSessionKey(const std::string& host,
+ uint16 port,
+ bool is_https)
+ : host_port_pair_(host, port),
+ is_https_(is_https) {}
+
QuicSessionKey::~QuicSessionKey() {}
bool QuicSessionKey::operator<(const QuicSessionKey &other) const {

Powered by Google App Engine
This is Rietveld 408576698