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

Side by Side Diff: net/spdy/spdy_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/spdy/spdy_http_stream.h ('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) 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_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 7
8 #include <string> 8 #include <string>
9 #include <list> 9 #include <list>
10 10
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // StreamSocket implementation. 66 // StreamSocket implementation.
67 virtual int Connect(const CompletionCallback& callback) OVERRIDE; 67 virtual int Connect(const CompletionCallback& callback) OVERRIDE;
68 virtual void Disconnect() OVERRIDE; 68 virtual void Disconnect() OVERRIDE;
69 virtual bool IsConnected() const OVERRIDE; 69 virtual bool IsConnected() const OVERRIDE;
70 virtual bool IsConnectedAndIdle() const OVERRIDE; 70 virtual bool IsConnectedAndIdle() const OVERRIDE;
71 virtual const BoundNetLog& NetLog() const OVERRIDE; 71 virtual const BoundNetLog& NetLog() const OVERRIDE;
72 virtual void SetSubresourceSpeculation() OVERRIDE; 72 virtual void SetSubresourceSpeculation() OVERRIDE;
73 virtual void SetOmniboxSpeculation() OVERRIDE; 73 virtual void SetOmniboxSpeculation() OVERRIDE;
74 virtual bool WasEverUsed() const OVERRIDE; 74 virtual bool WasEverUsed() const OVERRIDE;
75 virtual bool UsingTCPFastOpen() const OVERRIDE; 75 virtual bool UsingTCPFastOpen() const OVERRIDE;
76 virtual int64 NumBytesRead() const OVERRIDE;
77 virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE;
78 virtual bool WasNpnNegotiated() const OVERRIDE; 76 virtual bool WasNpnNegotiated() const OVERRIDE;
79 virtual NextProto GetNegotiatedProtocol() const OVERRIDE; 77 virtual NextProto GetNegotiatedProtocol() const OVERRIDE;
80 virtual bool GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; 78 virtual bool GetSSLInfo(SSLInfo* ssl_info) OVERRIDE;
81 79
82 // Socket implementation. 80 // Socket implementation.
83 virtual int Read(IOBuffer* buf, 81 virtual int Read(IOBuffer* buf,
84 int buf_len, 82 int buf_len,
85 const CompletionCallback& callback) OVERRIDE; 83 const CompletionCallback& callback) OVERRIDE;
86 virtual int Write(IOBuffer* buf, 84 virtual int Write(IOBuffer* buf,
87 int buf_len, 85 int buf_len,
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 base::WeakPtrFactory<SpdyProxyClientSocket> weak_factory_; 167 base::WeakPtrFactory<SpdyProxyClientSocket> weak_factory_;
170 168
171 const BoundNetLog net_log_; 169 const BoundNetLog net_log_;
172 170
173 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); 171 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket);
174 }; 172 };
175 173
176 } // namespace net 174 } // namespace net
177 175
178 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 176 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_http_stream.h ('k') | net/spdy/spdy_proxy_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698