blob: 211e2a4ddde03a66a96fdd7127fb76449076eb2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/socket/client_socket_factory.h"
#include "net/socket/ssl_client_socket_mac.h"
#include "net/socket/ssl_host_info.h"
namespace net {
SSLClientSocket* SSLClientSocketMacFactory(
ClientSocketHandle* transport_socket,
const HostPortPair& host_and_port,
const SSLConfig& ssl_config,
SSLHostInfo* ssl_host_info,
CertVerifier* cert_verifier,
DnsCertProvenanceChecker* dns_cert_checker) {
delete ssl_host_info;
return new SSLClientSocketMac(transport_socket, host_and_port, ssl_config,
cert_verifier);
}
} // namespace net
|