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

Unified Diff: chrome/browser/browser_main_win.cc

Issue 6561003: Remove the workaround for bug 43461. Use a g_use_system_ssl... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 | « chrome/browser/browser_main_mac.mm ('k') | net/base/run_all_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_main_win.cc
===================================================================
--- chrome/browser/browser_main_win.cc (revision 75692)
+++ chrome/browser/browser_main_win.cc (working copy)
@@ -34,7 +34,7 @@
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
#include "net/base/winsock_init.h"
-#include "net/socket/ssl_client_socket_nss_factory.h"
+#include "net/socket/client_socket_factory.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/l10n/l10n_util_win.h"
#include "ui/base/message_box_win.h"
@@ -270,12 +270,11 @@
private:
virtual void InitializeSSL() {
// Use NSS for SSL by default.
- // Because of a build system issue (http://crbug.com/43461), the default
- // client socket factory uses SChannel (the system SSL library) for SSL by
- // default on Windows.
- if (!parsed_command_line().HasSwitch(switches::kUseSystemSSL)) {
- net::ClientSocketFactory::SetSSLClientSocketFactory(
- net::SSLClientSocketNSSFactory);
+ // The default client socket factory uses NSS for SSL by default on
+ // Windows.
+ if (parsed_command_line().HasSwitch(switches::kUseSystemSSL)) {
+ net::ClientSocketFactory::UseSystemSSL();
+ } else {
// We want to be sure to init NSPR on the main thread.
base::EnsureNSPRInit();
}
« no previous file with comments | « chrome/browser/browser_main_mac.mm ('k') | net/base/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698