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

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

Issue 3846005: Revert 62918 - net: clean up SSLHostInfo construction.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « net/socket/ssl_client_socket_mac_factory.h ('k') | net/socket/ssl_client_socket_nss.h » ('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 #include "net/socket/client_socket_factory.h" 5 #include "net/socket/client_socket_factory.h"
6 6
7 #include "net/socket/ssl_client_socket_mac.h" 7 #include "net/socket/ssl_client_socket_mac.h"
8 8
9 namespace net { 9 namespace net {
10 10
11 SSLClientSocket* SSLClientSocketMacFactory( 11 SSLClientSocket* SSLClientSocketMacFactory(
12 ClientSocketHandle* transport_socket, 12 ClientSocketHandle* transport_socket,
13 const std::string& hostname, 13 const std::string& hostname,
14 const SSLConfig& ssl_config, 14 const SSLConfig& ssl_config) {
15 SSLHostInfo* ssl_host_info) {
16 delete ssl_host_info;
17 return new SSLClientSocketMac(transport_socket, hostname, ssl_config); 15 return new SSLClientSocketMac(transport_socket, hostname, ssl_config);
18 } 16 }
19 17
20 } // namespace net 18 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_mac_factory.h ('k') | net/socket/ssl_client_socket_nss.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698