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

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

Issue 8944001: net: remove DNS certificate checking code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « net/socket/ssl_client_socket_nss.h ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/time.h" 13 #include "base/time.h"
14 #include "net/base/host_resolver.h" 14 #include "net/base/host_resolver.h"
15 #include "net/base/ssl_config_service.h" 15 #include "net/base/ssl_config_service.h"
16 #include "net/http/http_response_info.h" 16 #include "net/http/http_response_info.h"
17 #include "net/proxy/proxy_server.h" 17 #include "net/proxy/proxy_server.h"
18 #include "net/socket/ssl_client_socket.h" 18 #include "net/socket/ssl_client_socket.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/client_socket_pool.h" 21 #include "net/socket/client_socket_pool.h"
22 22
23 namespace net { 23 namespace net {
24 24
25 class CertVerifier; 25 class CertVerifier;
26 class ClientSocketFactory; 26 class ClientSocketFactory;
27 class ConnectJobFactory; 27 class ConnectJobFactory;
28 class DnsCertProvenanceChecker;
29 class HostPortPair; 28 class HostPortPair;
30 class HttpProxyClientSocketPool; 29 class HttpProxyClientSocketPool;
31 class HttpProxySocketParams; 30 class HttpProxySocketParams;
32 class SOCKSClientSocketPool; 31 class SOCKSClientSocketPool;
33 class SOCKSSocketParams; 32 class SOCKSSocketParams;
34 class SSLClientSocket; 33 class SSLClientSocket;
35 class SSLHostInfoFactory; 34 class SSLHostInfoFactory;
36 class TransportClientSocketPool; 35 class TransportClientSocketPool;
37 class TransportSecurityState; 36 class TransportSecurityState;
38 class TransportSocketParams; 37 class TransportSocketParams;
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 // Only the pools that will be used are required. i.e. if you never 173 // Only the pools that will be used are required. i.e. if you never
175 // try to create an SSL over SOCKS socket, |socks_pool| may be NULL. 174 // try to create an SSL over SOCKS socket, |socks_pool| may be NULL.
176 SSLClientSocketPool( 175 SSLClientSocketPool(
177 int max_sockets, 176 int max_sockets,
178 int max_sockets_per_group, 177 int max_sockets_per_group,
179 ClientSocketPoolHistograms* histograms, 178 ClientSocketPoolHistograms* histograms,
180 HostResolver* host_resolver, 179 HostResolver* host_resolver,
181 CertVerifier* cert_verifier, 180 CertVerifier* cert_verifier,
182 OriginBoundCertService* origin_bound_cert_service, 181 OriginBoundCertService* origin_bound_cert_service,
183 TransportSecurityState* transport_security_state, 182 TransportSecurityState* transport_security_state,
184 DnsCertProvenanceChecker* dns_cert_checker,
185 SSLHostInfoFactory* ssl_host_info_factory, 183 SSLHostInfoFactory* ssl_host_info_factory,
186 const std::string& ssl_session_cache_shard, 184 const std::string& ssl_session_cache_shard,
187 ClientSocketFactory* client_socket_factory, 185 ClientSocketFactory* client_socket_factory,
188 TransportClientSocketPool* transport_pool, 186 TransportClientSocketPool* transport_pool,
189 SOCKSClientSocketPool* socks_pool, 187 SOCKSClientSocketPool* socks_pool,
190 HttpProxyClientSocketPool* http_proxy_pool, 188 HttpProxyClientSocketPool* http_proxy_pool,
191 SSLConfigService* ssl_config_service, 189 SSLConfigService* ssl_config_service,
192 NetLog* net_log); 190 NetLog* net_log);
193 191
194 virtual ~SSLClientSocketPool(); 192 virtual ~SSLClientSocketPool();
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 const scoped_refptr<SSLConfigService> ssl_config_service_; 294 const scoped_refptr<SSLConfigService> ssl_config_service_;
297 295
298 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool); 296 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool);
299 }; 297 };
300 298
301 REGISTER_SOCKET_PARAMS_FOR_POOL(SSLClientSocketPool, SSLSocketParams); 299 REGISTER_SOCKET_PARAMS_FOR_POOL(SSLClientSocketPool, SSLSocketParams);
302 300
303 } // namespace net 301 } // namespace net
304 302
305 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ 303 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_nss.h ('k') | net/socket/ssl_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698