| Index: net/nqe/network_quality_estimator.cc
|
| diff --git a/net/nqe/network_quality_estimator.cc b/net/nqe/network_quality_estimator.cc
|
| index b8861b30e0d7c1c364d499c9e5279a0b17b6915e..7ad32cb580cd713b2a76c88abdc59e786d42f68f 100644
|
| --- a/net/nqe/network_quality_estimator.cc
|
| +++ b/net/nqe/network_quality_estimator.cc
|
| @@ -1469,8 +1469,10 @@ bool NetworkQualityEstimator::ReadCachedNetworkQualityEstimate() {
|
|
|
| const bool cached_estimate_available = network_quality_store_->GetById(
|
| current_network_id_, &cached_network_quality);
|
| - UMA_HISTOGRAM_BOOLEAN("NQE.CachedNetworkQualityAvailable",
|
| - cached_estimate_available);
|
| + if (network_quality_store_->EligibleForCaching(current_network_id_)) {
|
| + UMA_HISTOGRAM_BOOLEAN("NQE.CachedNetworkQualityAvailable",
|
| + cached_estimate_available);
|
| + }
|
|
|
| if (!cached_estimate_available)
|
| return false;
|
|
|