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

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

Issue 11464028: Introduce ERR_NETWORK_CHANGED and allow URLFetcher to automatically retry on that error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed nits Created 8 years 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_connection_impl.cc ('k') | net/http/http_proxy_client_socket_pool.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_POOL_H_ 5 #ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_
6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ 6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 int num_sockets, 197 int num_sockets,
198 const BoundNetLog& net_log) OVERRIDE; 198 const BoundNetLog& net_log) OVERRIDE;
199 199
200 virtual void CancelRequest(const std::string& group_name, 200 virtual void CancelRequest(const std::string& group_name,
201 ClientSocketHandle* handle) OVERRIDE; 201 ClientSocketHandle* handle) OVERRIDE;
202 202
203 virtual void ReleaseSocket(const std::string& group_name, 203 virtual void ReleaseSocket(const std::string& group_name,
204 StreamSocket* socket, 204 StreamSocket* socket,
205 int id) OVERRIDE; 205 int id) OVERRIDE;
206 206
207 virtual void Flush() OVERRIDE; 207 virtual void FlushWithError(int error) OVERRIDE;
208 208
209 virtual bool IsStalled() const OVERRIDE; 209 virtual bool IsStalled() const OVERRIDE;
210 210
211 virtual void CloseIdleSockets() OVERRIDE; 211 virtual void CloseIdleSockets() OVERRIDE;
212 212
213 virtual int IdleSocketCount() const OVERRIDE; 213 virtual int IdleSocketCount() const OVERRIDE;
214 214
215 virtual int IdleSocketCountInGroup( 215 virtual int IdleSocketCountInGroup(
216 const std::string& group_name) const OVERRIDE; 216 const std::string& group_name) const OVERRIDE;
217 217
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 270
271 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool); 271 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool);
272 }; 272 };
273 273
274 REGISTER_SOCKET_PARAMS_FOR_POOL(HttpProxyClientSocketPool, 274 REGISTER_SOCKET_PARAMS_FOR_POOL(HttpProxyClientSocketPool,
275 HttpProxySocketParams); 275 HttpProxySocketParams);
276 276
277 } // namespace net 277 } // namespace net
278 278
279 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ 279 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « net/http/http_pipelined_connection_impl.cc ('k') | net/http/http_proxy_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698