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

Unified Diff: net/nqe/network_quality_estimator.h

Issue 2369673004: Wire NQE Prefs to Profile (Closed)
Patch Set: Addressed bengr comments Created 4 years, 2 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
Index: net/nqe/network_quality_estimator.h
diff --git a/net/nqe/network_quality_estimator.h b/net/nqe/network_quality_estimator.h
index 7c3525ead88e7f6d09b5c4eb462ed9bf00f14f0b..cb2ec31e6fed82cea8d8d760ebb06705a3a17d20 100644
--- a/net/nqe/network_quality_estimator.h
+++ b/net/nqe/network_quality_estimator.h
@@ -281,6 +281,12 @@ class NET_EXPORT NetworkQualityEstimator
nqe::internal::NetworkQualityStore::NetworkQualitiesCacheObserver*
observer);
+ // Called when the persistent prefs have been read. |read_prefs| contains the
+ // parsed prefs as a map between NetworkIDs and CachedNetworkQualities.
+ void OnPrefsRead(
+ const std::map<nqe::internal::NetworkID,
+ nqe::internal::CachedNetworkQuality> read_prefs);
+
protected:
// NetworkChangeNotifier::ConnectionTypeObserver implementation:
void OnConnectionTypeChanged(

Powered by Google App Engine
This is Rietveld 408576698