Index: net/nqe/network_quality_estimator.h |
diff --git a/net/nqe/network_quality_estimator.h b/net/nqe/network_quality_estimator.h |
index f136825b09197ca5a5dcf960bbf317348f0c7af8..e9798fbf4298626027fec7d29f897fc978788298 100644 |
--- a/net/nqe/network_quality_estimator.h |
+++ b/net/nqe/network_quality_estimator.h |
@@ -447,6 +447,14 @@ class NET_EXPORT NetworkQualityEstimator |
const base::TimeTicks& start_time, |
int percentile) const; |
+ // Notifies the observers of RTT or throughput estimates computation. |
+ virtual void NotifyObserversOfRTTOrThroughputComputed() const; |
+ |
+ // Notifies |observer| of the current RTT and throughput if |observer| is |
+ // still registered as an observer. |
+ virtual void NotifyRTTAndThroughputEstimatesObserverIfPresent( |
+ RTTAndThroughputEstimatesObserver* observer) const; |
+ |
// Observer list for RTT or throughput estimates. Protected for testing. |
base::ObserverList<RTTAndThroughputEstimatesObserver> |
rtt_and_throughput_estimates_observer_list_; |
@@ -565,19 +573,11 @@ class NET_EXPORT NetworkQualityEstimator |
// Notifies observers of a change in effective connection type. |
void NotifyObserversOfEffectiveConnectionTypeChanged(); |
- // Notifies the observers of RTT or throughput estimates computation. |
- void NotifyObserversOfRTTOrThroughputComputed() const; |
- |
// Notifies |observer| of the current effective connection type if |observer| |
// is still registered as an observer. |
void NotifyEffectiveConnectionTypeObserverIfPresent( |
EffectiveConnectionTypeObserver* observer) const; |
- // Notifies |observer| of the current RTT and throughput if |observer| is |
- // still registered as an observer. |
- void NotifyRTTAndThroughputEstimatesObserverIfPresent( |
- RTTAndThroughputEstimatesObserver* observer) const; |
- |
// Records NQE accuracy metrics. |measuring_duration| should belong to the |
// vector returned by AccuracyRecordingIntervals(). |
// RecordAccuracyAfterMainFrame should be called |measuring_duration| after a |