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

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

Issue 2103223002: Adding version info to the client config request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removing leftover headers Created 4 years, 6 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 b7207c2a7b6d006d2971ea321403da2a9a79b614..e274c4fd07b1339fd6391ac5d770e184eaae0363 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
@@ -98,20 +98,21 @@ DataReductionProxyIOData::DataReductionProxyIOData(
bool enabled,
const std::string& user_agent)
: client_(client),
net_log_(net_log),
io_task_runner_(io_task_runner),
ui_task_runner_(ui_task_runner),
enabled_(enabled),
url_request_context_getter_(nullptr),
basic_url_request_context_getter_(
new BasicHTTPURLRequestContextGetter(user_agent, io_task_runner)),
+ channel_(version_info::Channel::UNKNOWN),
weak_factory_(this) {
DCHECK(net_log);
DCHECK(io_task_runner_);
DCHECK(ui_task_runner_);
std::unique_ptr<DataReductionProxyParams> params(
new DataReductionProxyParams(param_flags));
event_creator_.reset(new DataReductionProxyEventCreator(this));
configurator_.reset(
new DataReductionProxyConfigurator(net_log, event_creator_.get()));
bool use_config_client =

Powered by Google App Engine
This is Rietveld 408576698