| Index: net/quic/quic_session_key.h
|
| diff --git a/net/quic/quic_session_key.h b/net/quic/quic_session_key.h
|
| index 486efd1cca8b6105f9b9c97f99c5023fb38814d7..398fc00b4b274a46141c8456f46fb5900ffdfb7e 100644
|
| --- a/net/quic/quic_session_key.h
|
| +++ b/net/quic/quic_session_key.h
|
| @@ -17,6 +17,7 @@ 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();
|
|
|
| // Needed to be an element of std::set.
|
| @@ -31,6 +32,10 @@ class NET_EXPORT_PRIVATE QuicSessionKey {
|
| return host_port_pair_;
|
| }
|
|
|
| + const std::string& host() const { return host_port_pair_.host(); }
|
| +
|
| + uint16 port() const { return host_port_pair_.port(); }
|
| +
|
| bool is_https() const { return is_https_; }
|
|
|
| private:
|
|
|