| Index: net/nqe/network_quality_estimator.cc
|
| diff --git a/net/nqe/network_quality_estimator.cc b/net/nqe/network_quality_estimator.cc
|
| index 7adb2ac2a334b2b3365e21e728fb7a42536fb17b..aacd7e9e91b4af2ec9f179282d0fe7c3ea81a2b4 100644
|
| --- a/net/nqe/network_quality_estimator.cc
|
| +++ b/net/nqe/network_quality_estimator.cc
|
| @@ -411,7 +411,7 @@ void NetworkQualityEstimator::NotifyStartTransaction(
|
| base::TimeTicks now = tick_clock_->NowTicks();
|
| last_main_frame_request_ = now;
|
|
|
| - ComputeEffectiveConnectionType();
|
| + MaybeComputeEffectiveConnectionType();
|
| effective_connection_type_at_last_main_frame_ = effective_connection_type_;
|
| estimated_quality_at_last_main_frame_ = network_quality_;
|
|
|
| @@ -443,6 +443,7 @@ void NetworkQualityEstimator::NotifyHeadersReceived(const URLRequest& request) {
|
| }
|
|
|
| if (request.load_flags() & LOAD_MAIN_FRAME_DEPRECATED) {
|
| + ComputeEffectiveConnectionType();
|
| RecordMetricsOnMainFrameRequest();
|
| MaybeQueryExternalEstimateProvider();
|
| }
|
|
|