OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_MAC_FACTORY_H_ | 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_MAC_FACTORY_H_ |
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_MAC_FACTORY_H_ | 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_MAC_FACTORY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "net/socket/client_socket_factory.h" | 9 #include "net/socket/client_socket_factory.h" |
10 | 10 |
11 namespace net { | 11 namespace net { |
12 | 12 |
13 class DnsCertProvenanceChecker; | 13 class DnsCertProvenanceChecker; |
14 class SSLHostInfo; | 14 class SSLHostInfo; |
15 | 15 |
16 // Creates SSLClientSocketMac objects. | 16 // Creates SSLClientSocketMac objects. |
17 SSLClientSocket* SSLClientSocketMacFactory( | 17 SSLClientSocket* SSLClientSocketMacFactory( |
18 ClientSocketHandle* transport_socket, | 18 ClientSocketHandle* transport_socket, |
19 const HostPortPair& host_and_port, | 19 const HostPortPair& host_and_port, |
20 const SSLConfig& ssl_config, | 20 const SSLConfig& ssl_config, |
21 SSLHostInfo* ssl_host_info, | 21 SSLHostInfo* ssl_host_info, |
| 22 CertVerifier* cert_verifier, |
22 DnsCertProvenanceChecker* dns_cert_checker); | 23 DnsCertProvenanceChecker* dns_cert_checker); |
23 | 24 |
24 } // namespace net | 25 } // namespace net |
25 | 26 |
26 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_MAC_FACTORY_H_ | 27 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_MAC_FACTORY_H_ |
OLD | NEW |