| Index: net/nqe/network_quality_estimator.cc
|
| diff --git a/net/nqe/network_quality_estimator.cc b/net/nqe/network_quality_estimator.cc
|
| index daceb853d09f31e5d54337fba7475001eb46b0a5..3a0aa4e73323c319e588e677ae93a0dded493222 100644
|
| --- a/net/nqe/network_quality_estimator.cc
|
| +++ b/net/nqe/network_quality_estimator.cc
|
| @@ -1382,17 +1382,6 @@ bool NetworkQualityEstimator::ReadCachedNetworkQualityEstimate() {
|
|
|
| const base::TimeTicks now = tick_clock_->NowTicks();
|
|
|
| - if (effective_connection_type_ == EFFECTIVE_CONNECTION_TYPE_UNKNOWN) {
|
| - // Read the effective connection type from the cached estimate.
|
| - last_effective_connection_type_computation_ = now;
|
| - network_quality_ = cached_network_quality.network_quality();
|
| - effective_connection_type_ =
|
| - cached_network_quality.effective_connection_type();
|
| -
|
| - if (effective_connection_type_ != EFFECTIVE_CONNECTION_TYPE_UNKNOWN)
|
| - NotifyObserversOfEffectiveConnectionTypeChanged();
|
| - }
|
| -
|
| if (cached_network_quality.network_quality().downstream_throughput_kbps() !=
|
| nqe::internal::kInvalidThroughput) {
|
| ThroughputObservation througphput_observation(
|
| @@ -1422,6 +1411,7 @@ bool NetworkQualityEstimator::ReadCachedNetworkQualityEstimate() {
|
| rtt_observations_.AddObservation(rtt_observation);
|
| NotifyObserversOfRTT(rtt_observation);
|
| }
|
| + ComputeEffectiveConnectionType();
|
| return true;
|
| }
|
|
|
|
|