Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(838)

Unified Diff: net/socket/stream_socket.h

Issue 12886034: Remove experimental code to pick the "warmest" socket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Don't add missing include (Shouldn't be done in this CL) Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/socket/stream_socket.h
===================================================================
--- net/socket/stream_socket.h (revision 190096)
+++ net/socket/stream_socket.h (working copy)
@@ -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 @@
// 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;

Powered by Google App Engine
This is Rietveld 408576698