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

Unified Diff: net/nqe/network_quality_estimator_test_util.cc

Issue 2883763002: Expose ECT to render frames, Blink and NetInfo (Closed)
Patch Set: rebased Created 3 years, 7 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_test_util.cc
diff --git a/net/nqe/network_quality_estimator_test_util.cc b/net/nqe/network_quality_estimator_test_util.cc
index 460abd6f8ff90db00cd210030b2679330ca34a8b..051b68107d89ef637a3fed46be2b7263493bc1fe 100644
--- a/net/nqe/network_quality_estimator_test_util.cc
+++ b/net/nqe/network_quality_estimator_test_util.cc
@@ -285,6 +285,12 @@ void TestNetworkQualityEstimator::
}
}
+void TestNetworkQualityEstimator::NotifyObserversOfEffectiveConnectionType(
+ EffectiveConnectionType type) {
+ for (auto& observer : effective_connection_type_observer_list_)
+ observer.OnEffectiveConnectionTypeChanged(type);
+}
+
nqe::internal::NetworkID TestNetworkQualityEstimator::GetCurrentNetworkID()
const {
return nqe::internal::NetworkID(current_network_type_, current_network_id_);

Powered by Google App Engine
This is Rietveld 408576698