From e86df8dcc1b9ad3eb30c46d5ba6de9fe66991801 Mon Sep 17 00:00:00 2001 From: "mmenke@chromium.org" Date: Sat, 30 Mar 2013 13:18:28 +0000 Subject: 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 --- net/socket/stream_socket.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'net/socket/stream_socket.h') 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; -- cgit v1.1