diff options
author | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-30 13:18:28 +0000 |
---|---|---|
committer | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-30 13:18:28 +0000 |
commit | e86df8dcc1b9ad3eb30c46d5ba6de9fe66991801 (patch) | |
tree | 4cb22ff67e8932ab768ab50167d7310cda71edb0 /net/socket/stream_socket.h | |
parent | 36e55397b5cf28e7e05c5f20391208009076f169 (diff) | |
download | chromium_src-e86df8dcc1b9ad3eb30c46d5ba6de9fe66991801.zip chromium_src-e86df8dcc1b9ad3eb30c46d5ba6de9fe66991801.tar.gz chromium_src-e86df8dcc1b9ad3eb30c46d5ba6de9fe66991801.tar.bz2 |
Remove experimental code to pick the "warmest" socket
(based on age and bytes received) in favor of older
algorithm to pick the most recently used socket.
Tests showed no real performance difference, so
defaulting to the older, simpler, and more intuitive
algorithm.
This is basically a revert of
https://codereview.chromium.org/7251004
TBR=sergeyu@chromium.org
BUG=222090
Review URL: https://codereview.chromium.org/12886034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191507 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/stream_socket.h')
-rw-r--r-- | net/socket/stream_socket.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/net/socket/stream_socket.h b/net/socket/stream_socket.h index 9193389..38eec86 100644 --- a/net/socket/stream_socket.h +++ b/net/socket/stream_socket.h @@ -5,7 +5,6 @@ #ifndef NET_SOCKET_STREAM_SOCKET_H_ #define NET_SOCKET_STREAM_SOCKET_H_ -#include "base/time.h" #include "net/base/net_log.h" #include "net/socket/next_proto.h" #include "net/socket/socket.h" @@ -80,12 +79,6 @@ class NET_EXPORT_PRIVATE StreamSocket : public Socket { // TCP FastOpen is an experiment with sending data in the TCP SYN packet. virtual bool UsingTCPFastOpen() const = 0; - // Returns the number of bytes successfully read from this socket. - virtual int64 NumBytesRead() const = 0; - - // Returns the connection setup time of this socket. - virtual base::TimeDelta GetConnectTimeMicros() const = 0; - // Returns true if NPN was negotiated during the connection of this socket. virtual bool WasNpnNegotiated() const = 0; |