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

Unified Diff: chrome/browser/io_thread.cc

Issue 2899453002: Pass parsed network quality estimator params when constructing NQE (Closed)
Patch Set: fix Android compile error Created 3 years, 7 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: chrome/browser/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index 935ebc38f6145315bc250b6218e1d5633ef7f672..c2f13b46f697e25b46e9938512bdb6e5097d8b58 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -599,7 +599,9 @@ void IOThread::Init() {
#endif // defined(OS_ANDROID)
// Pass ownership.
globals_->network_quality_estimator.reset(new net::NetworkQualityEstimator(
- std::move(external_estimate_provider), network_quality_estimator_params,
+ std::move(external_estimate_provider),
+ base::MakeUnique<net::NetworkQualityEstimatorParams>(
+ network_quality_estimator_params),
net_log_));
globals_->network_quality_observer = content::CreateNetworkQualityObserver(
globals_->network_quality_estimator.get());

Powered by Google App Engine
This is Rietveld 408576698