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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc

Issue 1845773002: Enable DRP config service by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Do not use client config for Cronet Created 4 years, 9 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 8b74b49e1c3783d36de716d879d4c97c5fbb96cc..c4f13fbfcc0e8ce554ac6005bf9bfb64a31002ce 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
@@ -115,7 +115,8 @@ DataReductionProxyIOData::DataReductionProxyIOData(
event_creator_.reset(new DataReductionProxyEventCreator(this));
configurator_.reset(
new DataReductionProxyConfigurator(net_log, event_creator_.get()));
- bool use_config_client = params::IsConfigClientEnabled();
+ bool use_config_client =
+ params::IsConfigClientEnabled() && client_ != CRONET_ANDROID;
DataReductionProxyMutableConfigValues* raw_mutable_config = nullptr;
if (use_config_client) {
scoped_ptr<DataReductionProxyMutableConfigValues> mutable_config =
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | components/data_reduction_proxy/core/common/data_reduction_proxy_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698