summaryrefslogtreecommitdiffstats
path: root/net/socket/ssl_client_socket_mac_factory.h
blob: 6f1288393366a2182e870a18811ce448194197c5 (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
25
26
// 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.

#ifndef NET_SOCKET_SSL_CLIENT_SOCKET_MAC_FACTORY_H_
#define NET_SOCKET_SSL_CLIENT_SOCKET_MAC_FACTORY_H_
#pragma once

#include "net/socket/client_socket_factory.h"

namespace net {

class DnsRRResolver;
class SSLHostInfo;

// Creates SSLClientSocketMac objects.
SSLClientSocket* SSLClientSocketMacFactory(
    ClientSocketHandle* transport_socket,
    const std::string& hostname,
    const SSLConfig& ssl_config,
    SSLHostInfo* ssl_host_info,
    DnsRRResolver* dnsrr_resolver);

}  // namespace net

#endif  // NET_SOCKET_SSL_CLIENT_SOCKET_MAC_FACTORY_H_