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..74e8c73ec3519a902daa5d1d6add1031b8e8669b 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,10 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() { |
browser_process_->intranet_redirect_detector(); |
GoogleSearchCounter::RegisterForNotifications(); |
+ if (parsed_command_line().HasSwitch(switches::kEnableSSLConnectJobWaiting)) { |
+ net::SSLConnectJob::EnableJobWaiting(true); |
+ } |
wtc
2014/06/27 00:36:49
Nit: omit curly braces, which is the style used in
|
+ |
if (parsed_command_line().HasSwitch(switches::kEnableSdchOverHttps)) { |
net::SdchManager::EnableSecureSchemeSupport(true); |
} else { |