diff options
author | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-26 18:29:29 +0000 |
---|---|---|
committer | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-26 18:29:29 +0000 |
commit | 7f7e9239652bbb552bd5ea62d9702edfcf86528c (patch) | |
tree | 1b64094581e7cf5f084bc456acf933b871eea4b6 /net/socket/client_socket.h | |
parent | 35011c75172bd9085890021da04027925b09addd (diff) | |
download | chromium_src-7f7e9239652bbb552bd5ea62d9702edfcf86528c.zip chromium_src-7f7e9239652bbb552bd5ea62d9702edfcf86528c.tar.gz chromium_src-7f7e9239652bbb552bd5ea62d9702edfcf86528c.tar.bz2 |
Add experimental option for TCP FastOpen.
Use chrome.exe --enable-tcp-fastopen
BUG=none
TEST=none yet
Review URL: http://codereview.chromium.org/4039003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63913 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/client_socket.h')
-rw-r--r-- | net/socket/client_socket.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/socket/client_socket.h b/net/socket/client_socket.h index 78b2f16..358716c 100644 --- a/net/socket/client_socket.h +++ b/net/socket/client_socket.h @@ -69,6 +69,10 @@ class ClientSocket : public Socket { // this call to the transport socket. virtual bool WasEverUsed() const = 0; + // Returns true if the underlying transport socket is using TCP FastOpen. + // TCP FastOpen is an experiment with sending data in the TCP SYN packet. + virtual bool UsingTCPFastOpen() 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 |