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

Unified Diff: components/cronet/android/cronet_data_reduction_proxy.cc

Issue 1862193002: Enable QUIC for proxies only when QUIC is enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed sclittle comments Created 4 years, 7 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/cronet/android/cronet_data_reduction_proxy.cc
diff --git a/components/cronet/android/cronet_data_reduction_proxy.cc b/components/cronet/android/cronet_data_reduction_proxy.cc
index 3598f4ed0645426e5eba51422c199a28b0c41c59..1f9e07615b2940543949a37a7f6e3e58706c5c21 100644
--- a/components/cronet/android/cronet_data_reduction_proxy.cc
+++ b/components/cronet/android/cronet_data_reduction_proxy.cc
@@ -88,12 +88,11 @@ CronetDataReductionProxy::CronetDataReductionProxy(
// network thread.
settings_.reset(
new data_reduction_proxy::DataReductionProxySettings());
- io_data_.reset(
- new data_reduction_proxy::DataReductionProxyIOData(
- data_reduction_proxy::Client::CRONET_ANDROID,
- data_reduction_proxy::DataReductionProxyParams::kAllowed |
- data_reduction_proxy::DataReductionProxyParams::kFallbackAllowed,
- net_log, task_runner, task_runner, false, false, user_agent));
+ io_data_.reset(new data_reduction_proxy::DataReductionProxyIOData(
+ data_reduction_proxy::Client::CRONET_ANDROID,
+ data_reduction_proxy::DataReductionProxyParams::kAllowed |
+ data_reduction_proxy::DataReductionProxyParams::kFallbackAllowed,
+ net_log, task_runner, task_runner, false, user_agent));
io_data_->request_options()->SetKeyOnIO(key);
}

Powered by Google App Engine
This is Rietveld 408576698