summaryrefslogtreecommitdiffstats
path: root/jingle
diff options
context:
space:
mode:
authortfarina <tfarina@chromium.org>2016-03-22 10:45:41 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-22 17:46:52 +0000
commitf933e0e731bf83f77540415e4ff719480323af80 (patch)
tree0a1b2a2fd1064947f85ebc415933c2b582fe343e /jingle
parentbab2e5a737dae7594d25d90bf27965590d3406b3 (diff)
downloadchromium_src-f933e0e731bf83f77540415e4ff719480323af80.zip
chromium_src-f933e0e731bf83f77540415e4ff719480323af80.tar.gz
chromium_src-f933e0e731bf83f77540415e4ff719480323af80.tar.bz2
net: remove UsingTCPFastOpen() method from StreamSocket class
Commit c4699f6 ("net: add IsUsingTCPFastOpen() method to SequencedSocketData test class") removed the usage of UsingTCPFastOpen(), so now it can be removed safely. BUG=488598 TEST=net_unittests R=mmenke@chromium.org TBR=dgozman@chromium.org,sergeyu@chromium.org Review URL: https://codereview.chromium.org/1821633003 Cr-Commit-Position: refs/heads/master@{#382604}
Diffstat (limited to 'jingle')
-rw-r--r--jingle/glue/fake_ssl_client_socket.cc4
-rw-r--r--jingle/glue/fake_ssl_client_socket.h1
-rw-r--r--jingle/glue/proxy_resolving_client_socket.cc7
-rw-r--r--jingle/glue/proxy_resolving_client_socket.h1
4 files changed, 0 insertions, 13 deletions
diff --git a/jingle/glue/fake_ssl_client_socket.cc b/jingle/glue/fake_ssl_client_socket.cc
index a61d359..583b54e 100644
--- a/jingle/glue/fake_ssl_client_socket.cc
+++ b/jingle/glue/fake_ssl_client_socket.cc
@@ -331,10 +331,6 @@ bool FakeSSLClientSocket::WasEverUsed() const {
return transport_socket_->WasEverUsed();
}
-bool FakeSSLClientSocket::UsingTCPFastOpen() const {
- return transport_socket_->UsingTCPFastOpen();
-}
-
bool FakeSSLClientSocket::WasNpnNegotiated() const {
return transport_socket_->WasNpnNegotiated();
}
diff --git a/jingle/glue/fake_ssl_client_socket.h b/jingle/glue/fake_ssl_client_socket.h
index 5bd4a0d..f4a2040 100644
--- a/jingle/glue/fake_ssl_client_socket.h
+++ b/jingle/glue/fake_ssl_client_socket.h
@@ -64,7 +64,6 @@ class FakeSSLClientSocket : public net::StreamSocket {
void SetSubresourceSpeculation() override;
void SetOmniboxSpeculation() override;
bool WasEverUsed() const override;
- bool UsingTCPFastOpen() const override;
bool WasNpnNegotiated() const override;
net::NextProto GetNegotiatedProtocol() const override;
bool GetSSLInfo(net::SSLInfo* ssl_info) override;
diff --git a/jingle/glue/proxy_resolving_client_socket.cc b/jingle/glue/proxy_resolving_client_socket.cc
index 731b63c..1962319 100644
--- a/jingle/glue/proxy_resolving_client_socket.cc
+++ b/jingle/glue/proxy_resolving_client_socket.cc
@@ -400,13 +400,6 @@ bool ProxyResolvingClientSocket::WasEverUsed() const {
return false;
}
-bool ProxyResolvingClientSocket::UsingTCPFastOpen() const {
- if (transport_.get() && transport_->socket())
- return transport_->socket()->UsingTCPFastOpen();
- NOTREACHED();
- return false;
-}
-
bool ProxyResolvingClientSocket::WasNpnNegotiated() const {
return false;
}
diff --git a/jingle/glue/proxy_resolving_client_socket.h b/jingle/glue/proxy_resolving_client_socket.h
index fd9629d..14f5175 100644
--- a/jingle/glue/proxy_resolving_client_socket.h
+++ b/jingle/glue/proxy_resolving_client_socket.h
@@ -69,7 +69,6 @@ class ProxyResolvingClientSocket : public net::StreamSocket {
void SetSubresourceSpeculation() override;
void SetOmniboxSpeculation() override;
bool WasEverUsed() const override;
- bool UsingTCPFastOpen() const override;
bool WasNpnNegotiated() const override;
net::NextProto GetNegotiatedProtocol() const override;
bool GetSSLInfo(net::SSLInfo* ssl_info) override;