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

Unified Diff: chrome/browser/io_thread.cc

Issue 981723008: Unwind the SSL connection holdback experiment and remove related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback Created 5 years, 9 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
Index: chrome/browser/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index 641f8f6a33d337d8e9543302ba8940bee24d7392..1f5e2a91ffe5b3a2a3376e65133404fd55f63a30 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -435,7 +435,6 @@ SystemRequestContextLeakChecker::~SystemRequestContextLeakChecker() {
IOThread::Globals::Globals()
: system_request_context_leak_checker(this),
- enable_ssl_connect_job_waiting(false),
ignore_certificate_errors(false),
use_stale_while_revalidate(false),
testing_fixed_http_port(0),
@@ -670,8 +669,6 @@ void IOThread::InitAsync() {
command_line.GetSwitchValueASCII(switches::kHostRules));
TRACE_EVENT_END0("startup", "IOThread::InitAsync:SetRulesFromString");
}
- if (command_line.HasSwitch(switches::kEnableSSLConnectJobWaiting))
- globals_->enable_ssl_connect_job_waiting = true;
if (command_line.HasSwitch(switches::kIgnoreCertificateErrors))
globals_->ignore_certificate_errors = true;
globals_->use_stale_while_revalidate =
@@ -1011,8 +1008,6 @@ void IOThread::InitializeNetworkSessionParamsFromGlobals(
globals.http_server_properties->GetWeakPtr();
params->network_delegate = globals.system_network_delegate.get();
params->host_mapping_rules = globals.host_mapping_rules.get();
- params->enable_ssl_connect_job_waiting =
- globals.enable_ssl_connect_job_waiting;
params->ignore_certificate_errors = globals.ignore_certificate_errors;
params->use_stale_while_revalidate = globals.use_stale_while_revalidate;
params->testing_fixed_http_port = globals.testing_fixed_http_port;

Powered by Google App Engine
This is Rietveld 408576698