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_NSS_FACTORY_H_ | 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_NSS_FACTORY_H_ |
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_NSS_FACTORY_H_ | 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_NSS_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 SSLHostInfo; | |
14 | |
15 // Creates SSLClientSocketNSS objects. | 13 // Creates SSLClientSocketNSS objects. |
16 SSLClientSocket* SSLClientSocketNSSFactory( | 14 SSLClientSocket* SSLClientSocketNSSFactory( |
17 ClientSocketHandle* transport_socket, | 15 ClientSocketHandle* transport_socket, |
18 const std::string& hostname, | 16 const std::string& hostname, |
19 const SSLConfig& ssl_config, | 17 const SSLConfig& ssl_config); |
20 SSLHostInfo* ssl_host_info); | |
21 | 18 |
22 } // namespace net | 19 } // namespace net |
23 | 20 |
24 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_FACTORY_H_ | 21 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_FACTORY_H_ |
OLD | NEW |