| 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 #include "net/socket/client_socket_factory.h" | 5 #include "net/socket/client_socket_factory.h" |
| 6 | 6 |
| 7 #include "net/base/host_port_pair.h" |
| 7 #include "net/socket/ssl_client_socket_mac.h" | 8 #include "net/socket/ssl_client_socket_mac.h" |
| 8 | 9 |
| 9 namespace net { | 10 namespace net { |
| 10 | 11 |
| 11 SSLClientSocket* SSLClientSocketMacFactory( | 12 SSLClientSocket* SSLClientSocketMacFactory( |
| 12 ClientSocketHandle* transport_socket, | 13 ClientSocketHandle* transport_socket, |
| 13 const std::string& hostname, | 14 const HostPortPair& host_port_pair, |
| 14 const SSLConfig& ssl_config) { | 15 const SSLConfig& ssl_config) { |
| 15 return new SSLClientSocketMac(transport_socket, hostname, ssl_config); | 16 return new SSLClientSocketMac(transport_socket, host_port_pair, ssl_config); |
| 16 } | 17 } |
| 17 | 18 |
| 18 } // namespace net | 19 } // namespace net |
| OLD | NEW |