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/spdy | |
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/spdy')
-rw-r--r-- | net/spdy/spdy_proxy_client_socket.cc | 4 | ||||
-rw-r--r-- | net/spdy/spdy_proxy_client_socket.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/net/spdy/spdy_proxy_client_socket.cc b/net/spdy/spdy_proxy_client_socket.cc index 53bcb0d..91936a0 100644 --- a/net/spdy/spdy_proxy_client_socket.cc +++ b/net/spdy/spdy_proxy_client_socket.cc @@ -120,6 +120,10 @@ bool SpdyProxyClientSocket::WasEverUsed() const { return was_ever_used_ || (spdy_stream_ && spdy_stream_->WasEverUsed()); } +bool SpdyProxyClientSocket::UsingTCPFastOpen() const { + return false; +} + int SpdyProxyClientSocket::Read(IOBuffer* buf, int buf_len, CompletionCallback* callback) { DCHECK(!read_callback_); diff --git a/net/spdy/spdy_proxy_client_socket.h b/net/spdy/spdy_proxy_client_socket.h index b993b5e..4a0747e 100644 --- a/net/spdy/spdy_proxy_client_socket.h +++ b/net/spdy/spdy_proxy_client_socket.h @@ -71,6 +71,7 @@ class SpdyProxyClientSocket : public ClientSocket, public SpdyStream::Delegate { virtual void SetSubresourceSpeculation(); virtual void SetOmniboxSpeculation(); virtual bool WasEverUsed() const; + virtual bool UsingTCPFastOpen() const; // Socket methods: |