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

Unified Diff: net/base/network_quality_estimator.cc

Issue 1376473003: Notify NQE of TCP RTT values (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed bengr comments Created 4 years, 10 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/base/network_quality_estimator.cc
diff --git a/net/base/network_quality_estimator.cc b/net/base/network_quality_estimator.cc
index 37cbcc0efe08f40589c770b2a89a0cdd1507ef7e..77178df132fe47c63f03ce608c94d442a93cdd00 100644
--- a/net/base/network_quality_estimator.cc
+++ b/net/base/network_quality_estimator.cc
@@ -912,6 +912,12 @@ void NetworkQualityEstimator::OnUpdatedRTTAvailable(
}
}
+void NetworkQualityEstimator::OnWatcherReset() {
+ DCHECK(thread_checker_.CalledOnValidThread());
+ // Nothing needs to be done for RTT observations since NetworkQualityEstimator
+ // does not maintain any watcher-specific state.
+}
+
void NetworkQualityEstimator::NotifyObserversOfRTT(
const RttObservation& observation) {
FOR_EACH_OBSERVER(

Powered by Google App Engine
This is Rietveld 408576698