Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(485)

Side by Side Diff: net/socket/ssl_client_socket_mac_factory.h

Issue 3174004: Pass both hostname and port into SSLClientSocket (Closed)
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/socket/ssl_client_socket_mac.cc ('k') | net/socket/ssl_client_socket_mac_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_MAC_FACTORY_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_MAC_FACTORY_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_MAC_FACTORY_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_MAC_FACTORY_H_
7 #pragma once 7 #pragma once
8 8
9 #include "net/socket/client_socket_factory.h" 9 #include "net/socket/client_socket_factory.h"
10 10
11 namespace net { 11 namespace net {
12 12
13 // Creates SSLClientSocketMac objects. 13 // Creates SSLClientSocketMac objects.
14 SSLClientSocket* SSLClientSocketMacFactory( 14 SSLClientSocket* SSLClientSocketMacFactory(
15 ClientSocketHandle* transport_socket, 15 ClientSocketHandle* transport_socket,
16 const std::string& hostname, 16 const HostPortPair& host_port_pair,
17 const SSLConfig& ssl_config); 17 const SSLConfig& ssl_config);
18 18
19 } // namespace net 19 } // namespace net
20 20
21 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_MAC_FACTORY_H_ 21 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_MAC_FACTORY_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_mac.cc ('k') | net/socket/ssl_client_socket_mac_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698