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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_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: components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc
index 88d15d6b1d1afdcce59ab250ef3e1859deb9a663..e48f7f36cbd8f08a9f851b8f53d701b2ca66cd2d 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc
@@ -60,11 +60,12 @@ DataReductionProxyIOData::~DataReductionProxyIOData() {
DCHECK(shutdown_on_ui_);
}
-void DataReductionProxyIOData::Init() {
+void DataReductionProxyIOData::Init(bool enable_quic) {
DCHECK(!initialized_);
DCHECK(!network_delegate_created_);
initialized_ = true;
request_options_->Init();
+ params_->EnableQuic(enable_quic);
}
void DataReductionProxyIOData::InitOnUIThread(PrefService* pref_service) {

Powered by Google App Engine
This is Rietveld 408576698