Index: chrome/browser/profiles/profile_io_data.cc |
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc |
index e24a0ed98b6b5a7ed0316555a30929c46e590343..3aef653a112cb43b5d60b786261ab5bdb6e6e390 100644 |
--- a/chrome/browser/profiles/profile_io_data.cc |
+++ b/chrome/browser/profiles/profile_io_data.cc |
@@ -926,6 +926,16 @@ std::unique_ptr<net::ClientCertStore> ProfileIOData::CreateClientCertStore() { |
#endif |
} |
+void ProfileIOData::UpdateNetParamsOnIOThread( |
+ NetPrefObserver::NetParamsChange net_params_change) { |
+ if (!main_request_context_storage_ || |
+ !main_request_context_storage_->http_network_session()) |
+ return; |
+ |
+ main_request_context_storage_->http_network_session()->SetQuicEnabled( |
+ net_params_change.quic_enabled_new); |
+} |
+ |
void ProfileIOData::set_data_reduction_proxy_io_data( |
std::unique_ptr<data_reduction_proxy::DataReductionProxyIOData> |
data_reduction_proxy_io_data) const { |