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

Unified Diff: chrome/browser/profiles/profile_io_data.cc

Issue 2546533003: Respect QuicAllowed policy for new streams (Closed)
Patch Set: Rebase Created 3 years, 11 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/profiles/profile_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index f5acaf6aa25e5c973a439269282e438a6bb3eeb9..6838093812798918fdda1e99c8be5cfb37f87f9c 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(
+ net::HttpNetworkSession::ParamsUpdate params_update) {
+ if (!main_request_context_storage_ ||
+ !main_request_context_storage_->http_network_session())
+ return;
+
+ main_request_context_storage_->http_network_session()->UpdateParams(
+ params_update);
+}
+
void ProfileIOData::set_data_reduction_proxy_io_data(
std::unique_ptr<data_reduction_proxy::DataReductionProxyIOData>
data_reduction_proxy_io_data) const {

Powered by Google App Engine
This is Rietveld 408576698