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

Unified Diff: ios/chrome/browser/ios_chrome_io_thread.mm

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: ios/chrome/browser/ios_chrome_io_thread.mm
diff --git a/ios/chrome/browser/ios_chrome_io_thread.mm b/ios/chrome/browser/ios_chrome_io_thread.mm
index 9e5e73b964aec56823199d26c125b9d6259e4830..549326a6909e803202e3a857a8bae7a4ede8ed22 100644
--- a/ios/chrome/browser/ios_chrome_io_thread.mm
+++ b/ios/chrome/browser/ios_chrome_io_thread.mm
@@ -63,6 +63,7 @@
#include "net/log/net_log_event_type.h"
#include "net/nqe/external_estimate_provider.h"
#include "net/nqe/network_quality_estimator.h"
+#include "net/nqe/network_quality_estimator_params.h"
#include "net/proxy/proxy_config_service.h"
#include "net/proxy/proxy_script_fetcher_impl.h"
#include "net/proxy/proxy_service.h"
@@ -361,7 +362,9 @@ void IOSChromeIOThread::Init() {
std::unique_ptr<net::ExternalEstimateProvider> external_estimate_provider;
// 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>(
+ network_quality_estimator_params),
net_log_));
globals_->cert_verifier = net::CertVerifier::CreateDefault();

Powered by Google App Engine
This is Rietveld 408576698