summaryrefslogtreecommitdiffstats
path: root/net/socket/client_socket_factory.cc
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-09 21:55:51 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-09 21:55:51 +0000
commit2fabd24b9eabb8a66c5553b7b45af134a5b929e5 (patch)
treeadc0dc3cadf6130abfed37d1eab5e2871e7d6a69 /net/socket/client_socket_factory.cc
parent23d8bdd59fd22a2c7aee9187349d802bdcd3da8e (diff)
downloadchromium_src-2fabd24b9eabb8a66c5553b7b45af134a5b929e5.zip
chromium_src-2fabd24b9eabb8a66c5553b7b45af134a5b929e5.tar.gz
chromium_src-2fabd24b9eabb8a66c5553b7b45af134a5b929e5.tar.bz2
Add the ssl_client_socket_nss_factory.h header and declare
the SSLClientSocketNSSFactory function there. Put the --use-nss-for-ssl command-line switch inside ifdefs for the platforms that need it. Call EnsureNSPRInit on the main thread so that PR_Cleanup will be called on the main thread. R=mark BUG=28744 TEST=No build errors. Review URL: http://codereview.chromium.org/573041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38515 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/client_socket_factory.cc')
-rw-r--r--net/socket/client_socket_factory.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/socket/client_socket_factory.cc b/net/socket/client_socket_factory.cc
index 6a3a4cc..4f05575 100644
--- a/net/socket/client_socket_factory.cc
+++ b/net/socket/client_socket_factory.cc
@@ -35,7 +35,6 @@ SSLClientSocket* DefaultSSLClientSocketFactory(
#endif
}
-// True if we should use NSS instead of the system SSL library for SSL.
SSLClientSocketFactory g_ssl_factory = DefaultSSLClientSocketFactory;
class DefaultClientSocketFactory : public ClientSocketFactory {