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

Side by Side Diff: net/http/http_proxy_client_socket.h

Issue 12886034: Remove experimental code to pick the "warmest" socket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync, fix conflict Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/http/http_pipelined_stream.cc ('k') | net/http/http_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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ 5 #ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_
6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ 6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // StreamSocket implementation. 63 // StreamSocket implementation.
64 virtual int Connect(const CompletionCallback& callback) OVERRIDE; 64 virtual int Connect(const CompletionCallback& callback) OVERRIDE;
65 virtual void Disconnect() OVERRIDE; 65 virtual void Disconnect() OVERRIDE;
66 virtual bool IsConnected() const OVERRIDE; 66 virtual bool IsConnected() const OVERRIDE;
67 virtual bool IsConnectedAndIdle() const OVERRIDE; 67 virtual bool IsConnectedAndIdle() const OVERRIDE;
68 virtual const BoundNetLog& NetLog() const OVERRIDE; 68 virtual const BoundNetLog& NetLog() const OVERRIDE;
69 virtual void SetSubresourceSpeculation() OVERRIDE; 69 virtual void SetSubresourceSpeculation() OVERRIDE;
70 virtual void SetOmniboxSpeculation() OVERRIDE; 70 virtual void SetOmniboxSpeculation() OVERRIDE;
71 virtual bool WasEverUsed() const OVERRIDE; 71 virtual bool WasEverUsed() const OVERRIDE;
72 virtual bool UsingTCPFastOpen() const OVERRIDE; 72 virtual bool UsingTCPFastOpen() const OVERRIDE;
73 virtual int64 NumBytesRead() const OVERRIDE;
74 virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE;
75 virtual bool WasNpnNegotiated() const OVERRIDE; 73 virtual bool WasNpnNegotiated() const OVERRIDE;
76 virtual NextProto GetNegotiatedProtocol() const OVERRIDE; 74 virtual NextProto GetNegotiatedProtocol() const OVERRIDE;
77 virtual bool GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; 75 virtual bool GetSSLInfo(SSLInfo* ssl_info) OVERRIDE;
78 76
79 // Socket implementation. 77 // Socket implementation.
80 virtual int Read(IOBuffer* buf, 78 virtual int Read(IOBuffer* buf,
81 int buf_len, 79 int buf_len,
82 const CompletionCallback& callback) OVERRIDE; 80 const CompletionCallback& callback) OVERRIDE;
83 virtual int Write(IOBuffer* buf, 81 virtual int Write(IOBuffer* buf,
84 int buf_len, 82 int buf_len,
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 HttpRequestHeaders request_headers_; 159 HttpRequestHeaders request_headers_;
162 160
163 const BoundNetLog net_log_; 161 const BoundNetLog net_log_;
164 162
165 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket); 163 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket);
166 }; 164 };
167 165
168 } // namespace net 166 } // namespace net
169 167
170 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ 168 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/http/http_pipelined_stream.cc ('k') | net/http/http_proxy_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698