Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index c8118f0a8fa57a973780eed7cf1367a5bb0a598a..048f292bf4d624a46260b36f638385ca2316a40b 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -133,6 +133,7 @@ |
#include "net/cookies/cookie_monster.h" |
#include "net/http/http_network_layer.h" |
#include "net/http/http_stream_factory.h" |
+#include "net/socket/ssl_client_socket_pool.h" |
#include "net/url_request/url_request.h" |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/layout.h" |
@@ -1353,6 +1354,9 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() { |
browser_process_->intranet_redirect_detector(); |
GoogleSearchCounter::RegisterForNotifications(); |
+ if (parsed_command_line().HasSwitch(switches::kEnableSSLConnectJobWaiting)) |
+ net::SSLClientSocketPool::set_enable_connect_job_waiting(true); |
+ |
if (parsed_command_line().HasSwitch(switches::kEnableSdchOverHttps)) { |
net::SdchManager::EnableSecureSchemeSupport(true); |
} else { |