Index: net/url_request/url_request_unittest.cc |
diff --git a/net/url_request/url_request_unittest.cc b/net/url_request/url_request_unittest.cc |
index 158618fd8b4129730ad4ca3f30357abee16dc341..340b4ebea163bb8a336e2d19f59bc6a202340e6c 100644 |
--- a/net/url_request/url_request_unittest.cc |
+++ b/net/url_request/url_request_unittest.cc |
@@ -4102,12 +4102,10 @@ TEST_F(URLRequestTestHTTP, NetworkQualityEstimator) { |
base::RunLoop().Run(); |
NetworkQuality network_quality = |
- context.network_quality_estimator()->GetEstimate(); |
- EXPECT_GE(network_quality.fastest_rtt, |
+ context.network_quality_estimator()->GetPeakEstimate(); |
+ EXPECT_GE(network_quality.rtt(), |
base::TimeDelta::FromMilliseconds(sleep_duration_milliseconds)); |
- EXPECT_GT(network_quality.fastest_rtt_confidence, 0); |
- EXPECT_GT(network_quality.peak_throughput_kbps, uint64_t(0)); |
- EXPECT_GT(network_quality.peak_throughput_kbps_confidence, 0); |
+ EXPECT_GT(network_quality.downlink_throughput_kbps(), 0U); |
// Verify that histograms are not populated. They should populate only when |
// there is a change in ConnectionType. |