Index: chrome/browser/browser_main.cc |
=================================================================== |
--- chrome/browser/browser_main.cc (revision 46602) |
+++ chrome/browser/browser_main.cc (working copy) |
@@ -66,6 +66,7 @@ |
#include "chrome/common/net/net_resource_provider.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/common/result_codes.h" |
+#include "chrome/installer/util/browser_distribution.h" |
#include "chrome/installer/util/google_update_settings.h" |
#include "chrome/installer/util/master_preferences.h" |
#include "grit/app_locale_settings.h" |
@@ -697,7 +698,8 @@ |
#if defined(OS_WIN) |
if (!parsed_command_line.HasSwitch(switches::kUseSChannel) || |
- parsed_command_line.HasSwitch(switches::kUseSpdy)) { |
+ parsed_command_line.HasSwitch(switches::kUseSpdy) || |
+ BrowserDistribution::GetDistribution()->IsSpdyEnabled()) { |
net::ClientSocketFactory::SetSSLClientSocketFactory( |
net::SSLClientSocketNSSFactory); |
// We want to be sure to init NSPR on the main thread. |