Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Unified Diff: net/nqe/network_quality_store.h

Issue 2731333003: Record UMA only when network quality is eligible for caching (Closed)
Patch Set: rebase, ryansturm comment Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/nqe/network_quality_estimator_unittest.cc ('k') | net/nqe/network_quality_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « net/nqe/network_quality_estimator_unittest.cc ('k') | net/nqe/network_quality_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698