Index: net/quic/quic_session_key.h |
diff --git a/net/quic/quic_session_key.h b/net/quic/quic_session_key.h |
index 12975fa5d2c78ecf8e58799e91155279c509656b..6cd43e7b9c93cda7cf190233cf2e047bb9222122 100644 |
--- a/net/quic/quic_session_key.h |
+++ b/net/quic/quic_session_key.h |
@@ -9,6 +9,7 @@ |
#include "net/base/host_port_pair.h" |
#include "net/base/net_export.h" |
+#include "net/base/privacy_mode.h" |
namespace net { |
@@ -16,8 +17,13 @@ namespace net { |
class NET_EXPORT_PRIVATE QuicSessionKey { |
public: |
QuicSessionKey(); |
- QuicSessionKey(const HostPortPair& host_port_pair, bool is_https); |
- QuicSessionKey(const std::string& host, uint16 port, bool is_https); |
+ QuicSessionKey(const HostPortPair& host_port_pair, |
+ bool is_https, |
+ PrivacyMode privacy_mode); |
+ QuicSessionKey(const std::string& host, |
+ uint16 port, |
+ bool is_https, |
+ PrivacyMode privacy_mode); |
~QuicSessionKey(); |
// Needed to be an element of std::set. |
@@ -38,9 +44,12 @@ class NET_EXPORT_PRIVATE QuicSessionKey { |
bool is_https() const { return is_https_; } |
+ PrivacyMode privacy_mode() const { return privacy_mode_; } |
+ |
private: |
HostPortPair host_port_pair_; |
bool is_https_; |
+ PrivacyMode privacy_mode_; |
}; |
} // namespace net |