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

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

Issue 903213003: Enable QUIC for proxies based on Finch config and command line switch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed enable_quic_for_data_reduction_proxy from http_network_session.h Created 5 years, 10 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_impl_io_data.cc
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc
index c6522a884b7aeb5e11d1b53ba43faa4e6627740a..d355c27199199c96d9cca94c6f6996a9e0fbcde7 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -459,7 +459,10 @@ void ProfileImplIOData::InitializeInternal(
main_context->set_net_log(io_thread->net_log());
- data_reduction_proxy_io_data()->Init();
+ bool enable_quic_for_data_reduction_proxy = false;
+ io_thread_globals->enable_quic_for_data_reduction_proxy.CopyToIfSet(
+ &enable_quic_for_data_reduction_proxy);
+ data_reduction_proxy_io_data()->Init(enable_quic_for_data_reduction_proxy);
network_delegate_ = data_reduction_proxy_io_data()->CreateNetworkDelegate(
chrome_network_delegate.Pass(), true).Pass();

Powered by Google App Engine
This is Rietveld 408576698