| 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 | 7 |
| 8 #include "net/socket/client_socket_factory.h" | 8 #include "net/socket/client_socket_factory.h" |
| 9 | 9 |
| 10 namespace net { | 10 namespace net { |
| 11 | 11 |
| 12 // Creates SSLClientSocketNSS objects. | 12 // Creates SSLClientSocketNSS objects. |
| 13 SSLClientSocket* SSLClientSocketNSSFactory( | 13 SSLClientSocket* SSLClientSocketNSSFactory( |
| 14 ClientSocket* transport_socket, | 14 ClientSocketHandle* transport_socket, |
| 15 const std::string& hostname, | 15 const std::string& hostname, |
| 16 const SSLConfig& ssl_config); | 16 const SSLConfig& ssl_config); |
| 17 | 17 |
| 18 } // namespace net | 18 } // namespace net |
| 19 | 19 |
| 20 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_FACTORY_H_ | 20 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_FACTORY_H_ |
| OLD | NEW |