| 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 <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 RespectLimits respect_limits, | 208 RespectLimits respect_limits, |
| 209 ClientSocketHandle* handle, | 209 ClientSocketHandle* handle, |
| 210 const CompletionCallback& callback, | 210 const CompletionCallback& callback, |
| 211 const NetLogWithSource& net_log) override; | 211 const NetLogWithSource& net_log) override; |
| 212 | 212 |
| 213 void RequestSockets(const std::string& group_name, | 213 void RequestSockets(const std::string& group_name, |
| 214 const void* params, | 214 const void* params, |
| 215 int num_sockets, | 215 int num_sockets, |
| 216 const NetLogWithSource& net_log) override; | 216 const NetLogWithSource& net_log) override; |
| 217 | 217 |
| 218 void SetPriority(const std::string& group_name, |
| 219 ClientSocketHandle* handle, |
| 220 RequestPriority priority) override; |
| 221 |
| 218 void CancelRequest(const std::string& group_name, | 222 void CancelRequest(const std::string& group_name, |
| 219 ClientSocketHandle* handle) override; | 223 ClientSocketHandle* handle) override; |
| 220 | 224 |
| 221 void ReleaseSocket(const std::string& group_name, | 225 void ReleaseSocket(const std::string& group_name, |
| 222 std::unique_ptr<StreamSocket> socket, | 226 std::unique_ptr<StreamSocket> socket, |
| 223 int id) override; | 227 int id) override; |
| 224 | 228 |
| 225 void FlushWithError(int error) override; | 229 void FlushWithError(int error) override; |
| 226 | 230 |
| 227 void CloseIdleSockets() override; | 231 void CloseIdleSockets() override; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 HttpProxyClientSocketPool* const http_proxy_pool_; | 305 HttpProxyClientSocketPool* const http_proxy_pool_; |
| 302 PoolBase base_; | 306 PoolBase base_; |
| 303 const scoped_refptr<SSLConfigService> ssl_config_service_; | 307 const scoped_refptr<SSLConfigService> ssl_config_service_; |
| 304 | 308 |
| 305 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool); | 309 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool); |
| 306 }; | 310 }; |
| 307 | 311 |
| 308 } // namespace net | 312 } // namespace net |
| 309 | 313 |
| 310 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ | 314 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ |
| OLD | NEW |