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

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 71e11962e31cbbe6c5a95404fdd6d3cb65d06d97..9708f4934d1b770ea72302fda919bd733b0b4c0a 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -598,7 +598,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::nqe::internal::NetworkQualityEstimatorParams>(
mmenke 2017/05/24 15:49:04 Code outside net/ shouldn't be using methods in an
+ 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