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

Side by Side Diff: net/socket/ssl_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/socket/socks_client_socket_pool.cc ('k') | net/socket/ssl_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_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 int num_sockets, 199 int num_sockets,
200 const BoundNetLog& net_log) OVERRIDE; 200 const BoundNetLog& net_log) OVERRIDE;
201 201
202 virtual void CancelRequest(const std::string& group_name, 202 virtual void CancelRequest(const std::string& group_name,
203 ClientSocketHandle* handle) OVERRIDE; 203 ClientSocketHandle* handle) OVERRIDE;
204 204
205 virtual void ReleaseSocket(const std::string& group_name, 205 virtual void ReleaseSocket(const std::string& group_name,
206 StreamSocket* socket, 206 StreamSocket* socket,
207 int id) OVERRIDE; 207 int id) OVERRIDE;
208 208
209 virtual void Flush() OVERRIDE; 209 virtual void FlushWithError(int error) OVERRIDE;
210 210
211 virtual bool IsStalled() const OVERRIDE; 211 virtual bool IsStalled() const OVERRIDE;
212 212
213 virtual void CloseIdleSockets() OVERRIDE; 213 virtual void CloseIdleSockets() OVERRIDE;
214 214
215 virtual int IdleSocketCount() const OVERRIDE; 215 virtual int IdleSocketCount() const OVERRIDE;
216 216
217 virtual int IdleSocketCountInGroup( 217 virtual int IdleSocketCountInGroup(
218 const std::string& group_name) const OVERRIDE; 218 const std::string& group_name) const OVERRIDE;
219 219
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 const scoped_refptr<SSLConfigService> ssl_config_service_; 287 const scoped_refptr<SSLConfigService> ssl_config_service_;
288 288
289 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool); 289 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool);
290 }; 290 };
291 291
292 REGISTER_SOCKET_PARAMS_FOR_POOL(SSLClientSocketPool, SSLSocketParams); 292 REGISTER_SOCKET_PARAMS_FOR_POOL(SSLClientSocketPool, SSLSocketParams);
293 293
294 } // namespace net 294 } // namespace net
295 295
296 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ 296 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « net/socket/socks_client_socket_pool.cc ('k') | net/socket/ssl_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698