Index: net/nqe/network_quality_store.h |
diff --git a/net/nqe/network_quality_store.h b/net/nqe/network_quality_store.h |
index 8970c350e11a22400e971faf73e8d9dd2df7ef31..6213da79e862f8f5ddd2cd67a59452acbca65bf7 100644 |
--- a/net/nqe/network_quality_store.h |
+++ b/net/nqe/network_quality_store.h |
@@ -67,6 +67,9 @@ class NET_EXPORT_PRIVATE NetworkQualityStore { |
void RemoveNetworkQualitiesCacheObserver( |
NetworkQualitiesCacheObserver* observer); |
+ // Returns true if network quality for |network_id| can be cached. |
+ bool EligibleForCaching(const NetworkID& network_id) const; |
+ |
// If |disable_offline_check| is set to true, the offline check is disabled |
// when storing the network quality. |
void DisableOfflineCheckForTesting(bool disable_offline_check); |