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

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

Issue 2635093003: Remove kAllowed from cronet data reduction proxy code (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fa5a3cbf88c5928c7a76b5818ce99bf2b720ec8f..a0303e4e2be940d9c8a45de817e4ff6d53cf9962 100644
--- a/components/cronet/android/cronet_data_reduction_proxy.cc
+++ b/components/cronet/android/cronet_data_reduction_proxy.cc
@@ -89,10 +89,8 @@ CronetDataReductionProxy::CronetDataReductionProxy(
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, user_agent, std::string()));
+ data_reduction_proxy::Client::CRONET_ANDROID, 0, net_log, task_runner,
+ task_runner, false, user_agent, std::string()));
io_data_->request_options()->SetKeyOnIO(key);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698