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

Unified Diff: net/base/client_socket_factory.cc

Issue 4049: Port SSLClientSocket to Linux (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/client_socket.h ('k') | net/base/nss_memio.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/client_socket_factory.cc
===================================================================
--- net/base/client_socket_factory.cc (revision 3736)
+++ net/base/client_socket_factory.cc (working copy)
@@ -8,6 +8,8 @@
#include "build/build_config.h"
#if defined(OS_WIN)
#include "net/base/ssl_client_socket_win.h"
+#elif defined(OS_LINUX)
+#include "net/base/ssl_client_socket_nss.h"
#elif defined(OS_MACOSX)
#include "net/base/ssl_client_socket_mac.h"
#endif
@@ -28,6 +30,8 @@
const SSLConfig& ssl_config) {
#if defined(OS_WIN)
return new SSLClientSocketWin(transport_socket, hostname, ssl_config);
+#elif defined(OS_LINUX)
+ return new SSLClientSocketNSS(transport_socket, hostname, ssl_config);
#elif defined(OS_MACOSX)
return new SSLClientSocketMac(transport_socket, hostname, ssl_config);
#else
« no previous file with comments | « net/base/client_socket.h ('k') | net/base/nss_memio.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698