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) { |