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

Unified Diff: content/browser/browser_main_loop.cc

Issue 11876044: Remove support for 'system' SSL on Mac (SecureTransport) and Win (SChannel) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « no previous file | content/public/common/content_switches.h » ('j') | net/socket/client_socket_factory.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index 255e63a3eceb6309456daaeaa7027b1941e10313..353ba61c8cf7248b794d769abe7225008286700f 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -280,23 +280,8 @@ void BrowserMainLoop::EarlyInitialization() {
#if !defined(USE_OPENSSL)
// Use NSS for SSL by default.
wtc 2013/01/15 23:26:35 Remove "by default", which means "if --use-system-
- // The default client socket factory uses NSS for SSL by default on
- // Windows and Mac.
- bool init_nspr = false;
-#if defined(OS_WIN) || defined(OS_MACOSX)
- if (parsed_command_line_.HasSwitch(switches::kUseSystemSSL)) {
- net::ClientSocketFactory::UseSystemSSL();
- } else {
- init_nspr = true;
- }
- UMA_HISTOGRAM_BOOLEAN("Chrome.CommandLineUseSystemSSL", !init_nspr);
-#elif defined(USE_NSS)
- init_nspr = true;
-#endif
- if (init_nspr) {
- // We want to be sure to init NSPR on the main thread.
- crypto::EnsureNSPRInit();
- }
+ // We want to be sure to init NSPR on the main thread.
+ crypto::EnsureNSPRInit();
#endif // !defined(USE_OPENSSL)
#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
« no previous file with comments | « no previous file | content/public/common/content_switches.h » ('j') | net/socket/client_socket_factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698