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

Unified Diff: net/socket/stream_socket.h

Issue 7255002: Revert 90373 - Warmth of a connection (cwnd) is estimated by the amount of data written to the so... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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
« no previous file with comments | « net/socket/ssl_server_socket_unittest.cc ('k') | net/socket/tcp_client_socket_libevent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/stream_socket.h
===================================================================
--- net/socket/stream_socket.h (revision 90388)
+++ net/socket/stream_socket.h (working copy)
@@ -6,7 +6,6 @@
#define NET_SOCKET_STREAM_SOCKET_H_
#pragma once
-#include "base/time.h"
#include "net/base/net_log.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;
-
protected:
// The following class is only used to gather statistics about the history of
// a socket. It is only instantiated and used in basic sockets, such as
Property changes on: net/socket/stream_socket.h
___________________________________________________________________
Added: svn:mergeinfo
« no previous file with comments | « net/socket/ssl_server_socket_unittest.cc ('k') | net/socket/tcp_client_socket_libevent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698