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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 | 200 |
201 ~SSLClientSocketPool() override; | 201 ~SSLClientSocketPool() override; |
202 | 202 |
203 // ClientSocketPool implementation. | 203 // ClientSocketPool implementation. |
204 int RequestSocket(const std::string& group_name, | 204 int RequestSocket(const std::string& group_name, |
205 const void* connect_params, | 205 const void* connect_params, |
206 RequestPriority priority, | 206 RequestPriority priority, |
207 RespectLimits respect_limits, | 207 RespectLimits respect_limits, |
208 ClientSocketHandle* handle, | 208 ClientSocketHandle* handle, |
209 const CompletionCallback& callback, | 209 const CompletionCallback& callback, |
210 const BoundNetLog& net_log) override; | 210 const NetLogWithSource& net_log) override; |
211 | 211 |
212 void RequestSockets(const std::string& group_name, | 212 void RequestSockets(const std::string& group_name, |
213 const void* params, | 213 const void* params, |
214 int num_sockets, | 214 int num_sockets, |
215 const BoundNetLog& net_log) override; | 215 const NetLogWithSource& net_log) override; |
216 | 216 |
217 void CancelRequest(const std::string& group_name, | 217 void CancelRequest(const std::string& group_name, |
218 ClientSocketHandle* handle) override; | 218 ClientSocketHandle* handle) override; |
219 | 219 |
220 void ReleaseSocket(const std::string& group_name, | 220 void ReleaseSocket(const std::string& group_name, |
221 std::unique_ptr<StreamSocket> socket, | 221 std::unique_ptr<StreamSocket> socket, |
222 int id) override; | 222 int id) override; |
223 | 223 |
224 void FlushWithError(int error) override; | 224 void FlushWithError(int error) override; |
225 | 225 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 HttpProxyClientSocketPool* const http_proxy_pool_; | 295 HttpProxyClientSocketPool* const http_proxy_pool_; |
296 PoolBase base_; | 296 PoolBase base_; |
297 const scoped_refptr<SSLConfigService> ssl_config_service_; | 297 const scoped_refptr<SSLConfigService> ssl_config_service_; |
298 | 298 |
299 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool); | 299 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool); |
300 }; | 300 }; |
301 | 301 |
302 } // namespace net | 302 } // namespace net |
303 | 303 |
304 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ | 304 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ |
OLD | NEW |