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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 typedef SSLSocketParams SocketParams; | 181 typedef SSLSocketParams SocketParams; |
182 | 182 |
183 // Only the pools that will be used are required. i.e. if you never | 183 // Only the pools that will be used are required. i.e. if you never |
184 // try to create an SSL over SOCKS socket, |socks_pool| may be NULL. | 184 // try to create an SSL over SOCKS socket, |socks_pool| may be NULL. |
185 SSLClientSocketPool( | 185 SSLClientSocketPool( |
186 int max_sockets, | 186 int max_sockets, |
187 int max_sockets_per_group, | 187 int max_sockets_per_group, |
188 ClientSocketPoolHistograms* histograms, | 188 ClientSocketPoolHistograms* histograms, |
189 HostResolver* host_resolver, | 189 HostResolver* host_resolver, |
190 CertVerifier* cert_verifier, | 190 CertVerifier* cert_verifier, |
191 ServerBoundCertService* server_bound_cert_service, | 191 ChannelIDService* channel_id_service, |
192 TransportSecurityState* transport_security_state, | 192 TransportSecurityState* transport_security_state, |
193 CTVerifier* cert_transparency_verifier, | 193 CTVerifier* cert_transparency_verifier, |
194 const std::string& ssl_session_cache_shard, | 194 const std::string& ssl_session_cache_shard, |
195 ClientSocketFactory* client_socket_factory, | 195 ClientSocketFactory* client_socket_factory, |
196 TransportClientSocketPool* transport_pool, | 196 TransportClientSocketPool* transport_pool, |
197 SOCKSClientSocketPool* socks_pool, | 197 SOCKSClientSocketPool* socks_pool, |
198 HttpProxyClientSocketPool* http_proxy_pool, | 198 HttpProxyClientSocketPool* http_proxy_pool, |
199 SSLConfigService* ssl_config_service, | 199 SSLConfigService* ssl_config_service, |
200 NetLog* net_log); | 200 NetLog* net_log); |
201 | 201 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 HttpProxyClientSocketPool* const http_proxy_pool_; | 301 HttpProxyClientSocketPool* const http_proxy_pool_; |
302 PoolBase base_; | 302 PoolBase base_; |
303 const scoped_refptr<SSLConfigService> ssl_config_service_; | 303 const scoped_refptr<SSLConfigService> ssl_config_service_; |
304 | 304 |
305 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool); | 305 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool); |
306 }; | 306 }; |
307 | 307 |
308 } // namespace net | 308 } // namespace net |
309 | 309 |
310 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ | 310 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ |
OLD | NEW |