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

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: Rebased Created 4 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
Index: net/base/network_quality_estimator.cc
diff --git a/net/base/network_quality_estimator.cc b/net/base/network_quality_estimator.cc
index e0a10cfc44ba75d8b21ee95d0a5cb6fa7f4a27bc..9767b86e067e049c283b6c15314dfbb27fee3cb9 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
bengr 2016/03/09 17:58:04 What about for packet loss and bandwidth? Does the
tbansal1 2016/03/09 19:13:11 Not right now. I will need to do something once I
+ // 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