| Index: chrome/browser/io_thread.cc
|
| diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
|
| index 4a012e171cfd9e231b53e4db8fb626f5253afc51..a78b59738ab118845cd71a612bb183c5ab38f4f2 100644
|
| --- a/chrome/browser/io_thread.cc
|
| +++ b/chrome/browser/io_thread.cc
|
| @@ -455,8 +455,8 @@ IOThread::Globals::Globals()
|
| ignore_certificate_errors(false),
|
| testing_fixed_http_port(0),
|
| testing_fixed_https_port(0),
|
| - enable_user_alternate_protocol_ports(false) {
|
| -}
|
| + enable_user_alternate_protocol_ports(false),
|
| + enable_token_binding(false) {}
|
|
|
| IOThread::Globals::~Globals() {}
|
|
|
| @@ -847,6 +847,9 @@ void IOThread::Init() {
|
| }
|
| globals_->enable_brotli.set(
|
| base::FeatureList::IsEnabled(features::kBrotliEncoding));
|
| + if (command_line.HasSwitch(switches::kEnableTokenBinding)) {
|
| + globals_->enable_token_binding = true;
|
| + }
|
| // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432
|
| // is fixed.
|
| tracked_objects::ScopedTracker tracking_profile13(
|
| @@ -1186,6 +1189,7 @@ void IOThread::InitializeNetworkSessionParamsFromGlobals(
|
| ¶ms->origin_to_force_quic_on);
|
| params->enable_user_alternate_protocol_ports =
|
| globals.enable_user_alternate_protocol_ports;
|
| + params->enable_token_binding = globals.enable_token_binding;
|
| }
|
|
|
| base::TimeTicks IOThread::creation_time() const {
|
|
|