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

Unified Diff: net/socket/transport_client_socket_pool_unittest.cc

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/tcp_client_socket_win.cc ('k') | net/socket/transport_client_socket_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/transport_client_socket_pool_unittest.cc
===================================================================
--- net/socket/transport_client_socket_pool_unittest.cc (revision 90388)
+++ net/socket/transport_client_socket_pool_unittest.cc (working copy)
@@ -85,10 +85,6 @@
virtual void SetOmniboxSpeculation() {}
virtual bool WasEverUsed() const { return false; }
virtual bool UsingTCPFastOpen() const { return false; }
- virtual int64 NumBytesRead() const { return -1; }
- virtual base::TimeDelta GetConnectTimeMicros() const {
- return base::TimeDelta::FromMicroseconds(-1);
- }
// Socket methods:
virtual int Read(IOBuffer* buf, int buf_len,
@@ -139,10 +135,6 @@
virtual void SetOmniboxSpeculation() {}
virtual bool WasEverUsed() const { return false; }
virtual bool UsingTCPFastOpen() const { return false; }
- virtual int64 NumBytesRead() const { return -1; }
- virtual base::TimeDelta GetConnectTimeMicros() const {
- return base::TimeDelta::FromMicroseconds(-1);
- }
// Socket methods:
virtual int Read(IOBuffer* buf, int buf_len,
@@ -217,10 +209,6 @@
virtual void SetOmniboxSpeculation() {}
virtual bool WasEverUsed() const { return false; }
virtual bool UsingTCPFastOpen() const { return false; }
- virtual int64 NumBytesRead() const { return -1; }
- virtual base::TimeDelta GetConnectTimeMicros() const {
- return base::TimeDelta::FromMicroseconds(-1);
- }
// Socket methods:
virtual int Read(IOBuffer* buf, int buf_len,
Property changes on: net/socket/transport_client_socket_pool_unittest.cc
___________________________________________________________________
Added: svn:mergeinfo
« no previous file with comments | « net/socket/tcp_client_socket_win.cc ('k') | net/socket/transport_client_socket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698