| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |