Commit 22fe377e authored by Reilly Grant's avatar Reilly Grant Committed by Commit Bot

Remove unused SpdySessionKey constructor

This temporary hack to get an implicit copy constructor is no longer
needed.

Change-Id: I06d45124f4d629e03be1bbefaa8479ad2060aac7
Reviewed-on: https://chromium-review.googlesource.com/847957Reviewed-by: default avatarBence Béky <bnc@chromium.org>
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#526785}
parent c00c1189
......@@ -12,8 +12,7 @@
namespace net {
SpdySessionKey::SpdySessionKey() : privacy_mode_(PRIVACY_MODE_DISABLED) {
}
SpdySessionKey::SpdySessionKey() = default;
SpdySessionKey::SpdySessionKey(const HostPortPair& host_port_pair,
const ProxyServer& proxy_server,
......@@ -25,15 +24,6 @@ SpdySessionKey::SpdySessionKey(const HostPortPair& host_port_pair,
<< ", privacy=" << privacy_mode;
}
SpdySessionKey::SpdySessionKey(const HostPortProxyPair& host_port_proxy_pair,
PrivacyMode privacy_mode)
: host_port_proxy_pair_(host_port_proxy_pair),
privacy_mode_(privacy_mode) {
DVLOG(1) << "SpdySessionKey(hppp=" << host_port_proxy_pair.first.ToString()
<< "," << host_port_proxy_pair.second.ToURI()
<< ", privacy=" << privacy_mode;
}
SpdySessionKey::SpdySessionKey(const SpdySessionKey& other) = default;
SpdySessionKey::~SpdySessionKey() = default;
......
......@@ -19,10 +19,6 @@ class NET_EXPORT_PRIVATE SpdySessionKey {
const ProxyServer& proxy_server,
PrivacyMode privacy_mode);
// Temporary hack for implicit copy constructor
SpdySessionKey(const HostPortProxyPair& host_port_proxy_pair,
PrivacyMode privacy_mode);
SpdySessionKey(const SpdySessionKey& other);
~SpdySessionKey();
......@@ -55,7 +51,7 @@ class NET_EXPORT_PRIVATE SpdySessionKey {
private:
HostPortProxyPair host_port_proxy_pair_;
// If enabled, then session cannot be tracked by the server.
PrivacyMode privacy_mode_;
PrivacyMode privacy_mode_ = PRIVACY_MODE_DISABLED;
};
} // namespace net
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment