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

Side by Side Diff: net/spdy/spdy_proxy_client_socket.h

Issue 4039003: Add experimental option for TCP FastOpen.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/socket/tcp_client_socket_win.cc ('k') | net/spdy/spdy_proxy_client_socket.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 5 #ifndef NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
6 #define NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 6 #define NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <list> 10 #include <list>
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // ClientSocket methods: 64 // ClientSocket methods:
65 65
66 virtual int Connect(CompletionCallback* callback); 66 virtual int Connect(CompletionCallback* callback);
67 virtual void Disconnect(); 67 virtual void Disconnect();
68 virtual bool IsConnected() const; 68 virtual bool IsConnected() const;
69 virtual bool IsConnectedAndIdle() const; 69 virtual bool IsConnectedAndIdle() const;
70 virtual const BoundNetLog& NetLog() const { return net_log_; } 70 virtual const BoundNetLog& NetLog() const { return net_log_; }
71 virtual void SetSubresourceSpeculation(); 71 virtual void SetSubresourceSpeculation();
72 virtual void SetOmniboxSpeculation(); 72 virtual void SetOmniboxSpeculation();
73 virtual bool WasEverUsed() const; 73 virtual bool WasEverUsed() const;
74 virtual bool UsingTCPFastOpen() const;
74 75
75 // Socket methods: 76 // Socket methods:
76 77
77 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 78 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback);
78 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback); 79 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback);
79 80
80 virtual bool SetReceiveBufferSize(int32 size); 81 virtual bool SetReceiveBufferSize(int32 size);
81 virtual bool SetSendBufferSize(int32 size); 82 virtual bool SetSendBufferSize(int32 size);
82 83
83 virtual int GetPeerAddress(AddressList* address) const; 84 virtual int GetPeerAddress(AddressList* address) const;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 bool was_ever_used_; 176 bool was_ever_used_;
176 177
177 const BoundNetLog net_log_; 178 const BoundNetLog net_log_;
178 179
179 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); 180 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket);
180 }; 181 };
181 182
182 } // namespace net 183 } // namespace net
183 184
184 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 185 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/socket/tcp_client_socket_win.cc ('k') | net/spdy/spdy_proxy_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698