OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "net/socket/client_socket_factory.h" |
| 6 |
| 7 #include "net/socket/ssl_client_socket_win.h" |
| 8 #include "net/socket/ssl_host_info.h" |
| 9 |
| 10 namespace net { |
| 11 |
| 12 SSLClientSocket* SSLClientSocketWinFactory( |
| 13 ClientSocketHandle* transport_socket, |
| 14 const HostPortPair& host_and_port, |
| 15 const SSLConfig& ssl_config, |
| 16 SSLHostInfo* ssl_host_info, |
| 17 CertVerifier* cert_verifier, |
| 18 DnsCertProvenanceChecker* dns_cert_checker) { |
| 19 delete ssl_host_info; |
| 20 return new SSLClientSocketWin(transport_socket, host_and_port, ssl_config, |
| 21 cert_verifier); |
| 22 } |
| 23 |
| 24 } // namespace net |
OLD | NEW |