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

Unified Diff: net/socket/socket_test_util.h

Issue 4039003: Add experimental option for TCP FastOpen.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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/client_socket_pool_base_unittest.cc ('k') | net/socket/socket_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/socket_test_util.h
===================================================================
--- net/socket/socket_test_util.h (revision 63182)
+++ net/socket/socket_test_util.h (working copy)
@@ -609,6 +609,7 @@
virtual bool IsConnected() const;
virtual bool IsConnectedAndIdle() const { return IsConnected(); }
virtual bool WasEverUsed() const { return was_used_to_convey_data_; }
+ virtual bool UsingTCPFastOpen() const { return false; }
// Socket methods:
virtual int Read(net::IOBuffer* buf, int buf_len,
@@ -654,6 +655,7 @@
virtual bool IsConnected() const;
virtual bool IsConnectedAndIdle() const { return IsConnected(); }
virtual bool WasEverUsed() const { return was_used_to_convey_data_; }
+ virtual bool UsingTCPFastOpen() const { return false; }
// Socket methods:
virtual int Write(net::IOBuffer* buf, int buf_len,
@@ -698,6 +700,7 @@
virtual void Disconnect();
virtual bool IsConnected() const;
virtual bool WasEverUsed() const;
+ virtual bool UsingTCPFastOpen() const;
// Socket methods:
virtual int Read(net::IOBuffer* buf, int buf_len,
« no previous file with comments | « net/socket/client_socket_pool_base_unittest.cc ('k') | net/socket/socket_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698