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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 public SSLConfigService::Observer { | 169 public SSLConfigService::Observer { |
170 public: | 170 public: |
171 // Only the pools that will be used are required. i.e. if you never | 171 // Only the pools that will be used are required. i.e. if you never |
172 // try to create an SSL over SOCKS socket, |socks_pool| may be NULL. | 172 // try to create an SSL over SOCKS socket, |socks_pool| may be NULL. |
173 SSLClientSocketPool( | 173 SSLClientSocketPool( |
174 int max_sockets, | 174 int max_sockets, |
175 int max_sockets_per_group, | 175 int max_sockets_per_group, |
176 ClientSocketPoolHistograms* histograms, | 176 ClientSocketPoolHistograms* histograms, |
177 HostResolver* host_resolver, | 177 HostResolver* host_resolver, |
178 CertVerifier* cert_verifier, | 178 CertVerifier* cert_verifier, |
179 OriginBoundCertService* origin_bound_cert_service, | 179 ServerBoundCertService* server_bound_cert_service, |
180 TransportSecurityState* transport_security_state, | 180 TransportSecurityState* transport_security_state, |
181 SSLHostInfoFactory* ssl_host_info_factory, | 181 SSLHostInfoFactory* ssl_host_info_factory, |
182 const std::string& ssl_session_cache_shard, | 182 const std::string& ssl_session_cache_shard, |
183 ClientSocketFactory* client_socket_factory, | 183 ClientSocketFactory* client_socket_factory, |
184 TransportClientSocketPool* transport_pool, | 184 TransportClientSocketPool* transport_pool, |
185 SOCKSClientSocketPool* socks_pool, | 185 SOCKSClientSocketPool* socks_pool, |
186 HttpProxyClientSocketPool* http_proxy_pool, | 186 HttpProxyClientSocketPool* http_proxy_pool, |
187 SSLConfigService* ssl_config_service, | 187 SSLConfigService* ssl_config_service, |
188 NetLog* net_log); | 188 NetLog* net_log); |
189 | 189 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 const scoped_refptr<SSLConfigService> ssl_config_service_; | 283 const scoped_refptr<SSLConfigService> ssl_config_service_; |
284 | 284 |
285 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool); | 285 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool); |
286 }; | 286 }; |
287 | 287 |
288 REGISTER_SOCKET_PARAMS_FOR_POOL(SSLClientSocketPool, SSLSocketParams); | 288 REGISTER_SOCKET_PARAMS_FOR_POOL(SSLClientSocketPool, SSLSocketParams); |
289 | 289 |
290 } // namespace net | 290 } // namespace net |
291 | 291 |
292 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ | 292 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ |
OLD | NEW |