Chromium Code Reviews| Index: net/nqe/network_quality_estimator_test_util.h |
| diff --git a/net/nqe/network_quality_estimator_test_util.h b/net/nqe/network_quality_estimator_test_util.h |
| index 15203aac232c4597dbe4a88e4a7a7f02cf0797b8..da98abd0b8d25e3345522a429406588c289f819e 100644 |
| --- a/net/nqe/network_quality_estimator_test_util.h |
| +++ b/net/nqe/network_quality_estimator_test_util.h |
| @@ -82,6 +82,15 @@ class TestNetworkQualityEstimator : public NetworkQualityEstimator { |
| EffectiveConnectionType GetRecentEffectiveConnectionType( |
| const base::TimeTicks& start_time) const override; |
| + // Returns the effective connection type that was set using |
| + // |set_effective_connection_type|. If the connection type has not been set, |
| + // then the base implementation is called. |
|
RyanSturm
2016/10/11 01:46:26
Add comments about how |http_rtt|, |transport_rtt|
tbansal1
2016/10/11 17:46:12
Done.
|
| + EffectiveConnectionType GetRecentEffectiveConnectionTypeAndNetworkQuality( |
| + const base::TimeTicks& start_time, |
| + base::TimeDelta* http_rtt, |
| + base::TimeDelta* transport_rtt, |
| + int32_t* downstream_throughput_kbps) const override; |
| + |
| void set_http_rtt(const base::TimeDelta& http_rtt) { |
| http_rtt_set_ = true; |
| http_rtt_ = http_rtt; |