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

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

Issue 2103223002: Adding version info to the client config request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits 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/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 1f9e07615b2940543949a37a7f6e3e58706c5c21..14ce1240f1be82ef299ac26c7c4a01097fe469f3 100644
--- a/components/cronet/android/cronet_data_reduction_proxy.cc
+++ b/components/cronet/android/cronet_data_reduction_proxy.cc
@@ -85,21 +85,21 @@ CronetDataReductionProxy::CronetDataReductionProxy(
base::CommandLine::ForCurrentProcess());
prefs_ = CreatePrefService();
// In Cronet, the Data Reduction Proxy's UI classes are Created on Cronet's
// 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, user_agent));
+ net_log, task_runner, task_runner, false, user_agent, std::string()));
xunjieli 2016/06/30 13:55:37 You can get a Chromium version string CRONET_VERSI
RyanSturm 2016/06/30 15:09:11 This string is for channel (dev, beta, stable). I
io_data_->request_options()->SetKeyOnIO(key);
}
CronetDataReductionProxy::~CronetDataReductionProxy() {
io_data_->ShutdownOnUIThread();
}
std::unique_ptr<net::NetworkDelegate>
CronetDataReductionProxy::CreateNetworkDelegate(
std::unique_ptr<net::NetworkDelegate> wrapped_network_delegate) {

Powered by Google App Engine
This is Rietveld 408576698