Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Side by Side Diff: net/socket/ssl_client_socket_pool.h

Issue 422063004: Certificate Transparency: Require SCTs for EV certificates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed histogram enum names Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/socket/ssl_client_socket_openssl.cc ('k') | net/socket/ssl_client_socket_pool.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "net/base/privacy_mode.h" 15 #include "net/base/privacy_mode.h"
16 #include "net/dns/host_resolver.h" 16 #include "net/dns/host_resolver.h"
17 #include "net/http/http_response_info.h" 17 #include "net/http/http_response_info.h"
18 #include "net/socket/client_socket_pool.h" 18 #include "net/socket/client_socket_pool.h"
19 #include "net/socket/client_socket_pool_base.h" 19 #include "net/socket/client_socket_pool_base.h"
20 #include "net/socket/client_socket_pool_histograms.h" 20 #include "net/socket/client_socket_pool_histograms.h"
21 #include "net/socket/ssl_client_socket.h" 21 #include "net/socket/ssl_client_socket.h"
22 #include "net/ssl/ssl_config_service.h" 22 #include "net/ssl/ssl_config_service.h"
23 23
24 namespace net { 24 namespace net {
25 25
26 class CertPolicyEnforcer;
26 class CertVerifier; 27 class CertVerifier;
27 class ClientSocketFactory; 28 class ClientSocketFactory;
28 class ConnectJobFactory; 29 class ConnectJobFactory;
29 class CTVerifier; 30 class CTVerifier;
30 class HostPortPair; 31 class HostPortPair;
31 class HttpProxyClientSocketPool; 32 class HttpProxyClientSocketPool;
32 class HttpProxySocketParams; 33 class HttpProxySocketParams;
33 class SOCKSClientSocketPool; 34 class SOCKSClientSocketPool;
34 class SOCKSSocketParams; 35 class SOCKSSocketParams;
35 class SSLClientSocket; 36 class SSLClientSocket;
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 // Only the pools that will be used are required. i.e. if you never 279 // Only the pools that will be used are required. i.e. if you never
279 // try to create an SSL over SOCKS socket, |socks_pool| may be NULL. 280 // try to create an SSL over SOCKS socket, |socks_pool| may be NULL.
280 SSLClientSocketPool(int max_sockets, 281 SSLClientSocketPool(int max_sockets,
281 int max_sockets_per_group, 282 int max_sockets_per_group,
282 ClientSocketPoolHistograms* histograms, 283 ClientSocketPoolHistograms* histograms,
283 HostResolver* host_resolver, 284 HostResolver* host_resolver,
284 CertVerifier* cert_verifier, 285 CertVerifier* cert_verifier,
285 ChannelIDService* channel_id_service, 286 ChannelIDService* channel_id_service,
286 TransportSecurityState* transport_security_state, 287 TransportSecurityState* transport_security_state,
287 CTVerifier* cert_transparency_verifier, 288 CTVerifier* cert_transparency_verifier,
289 CertPolicyEnforcer* cert_policy_enforcer,
288 const std::string& ssl_session_cache_shard, 290 const std::string& ssl_session_cache_shard,
289 ClientSocketFactory* client_socket_factory, 291 ClientSocketFactory* client_socket_factory,
290 TransportClientSocketPool* transport_pool, 292 TransportClientSocketPool* transport_pool,
291 SOCKSClientSocketPool* socks_pool, 293 SOCKSClientSocketPool* socks_pool,
292 HttpProxyClientSocketPool* http_proxy_pool, 294 HttpProxyClientSocketPool* http_proxy_pool,
293 SSLConfigService* ssl_config_service, 295 SSLConfigService* ssl_config_service,
294 bool enable_ssl_connect_job_waiting, 296 bool enable_ssl_connect_job_waiting,
295 NetLog* net_log); 297 NetLog* net_log);
296 298
297 ~SSLClientSocketPool() override; 299 ~SSLClientSocketPool() override;
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 const scoped_refptr<SSLConfigService> ssl_config_service_; 408 const scoped_refptr<SSLConfigService> ssl_config_service_;
407 MessengerMap messenger_map_; 409 MessengerMap messenger_map_;
408 bool enable_ssl_connect_job_waiting_; 410 bool enable_ssl_connect_job_waiting_;
409 411
410 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool); 412 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool);
411 }; 413 };
412 414
413 } // namespace net 415 } // namespace net
414 416
415 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ 417 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_openssl.cc ('k') | net/socket/ssl_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698