| Index: net/nqe/network_quality_estimator.cc
|
| diff --git a/net/nqe/network_quality_estimator.cc b/net/nqe/network_quality_estimator.cc
|
| index 0d5fbe384a68acfc4bdc54a38f8517cff71fa24b..13e56e650731fafb49bce2e812be6c5b72fba9d9 100644
|
| --- a/net/nqe/network_quality_estimator.cc
|
| +++ b/net/nqe/network_quality_estimator.cc
|
| @@ -1470,8 +1470,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;
|
|
|