| Index: net/nqe/network_quality_estimator.cc
|
| diff --git a/net/nqe/network_quality_estimator.cc b/net/nqe/network_quality_estimator.cc
|
| index f2247f048b1195104c95a750623e9433d1e09c92..0eea0b9bc452ff7f5ba8abc09bc05f82c5c17957 100644
|
| --- a/net/nqe/network_quality_estimator.cc
|
| +++ b/net/nqe/network_quality_estimator.cc
|
| @@ -552,6 +552,21 @@ NetworkQualityEstimator::GetSocketPerformanceWatcherFactory() {
|
| return watcher_factory_.get();
|
| }
|
|
|
| +void NetworkQualityEstimator::SetUseLocalHostRequestsForTesting(
|
| + bool use_local_host_requests_for_tests) {
|
| + DCHECK(thread_checker_.CalledOnValidThread());
|
| + use_localhost_requests_ = use_local_host_requests_for_tests;
|
| + throughput_analyzer_->SetUseLocalHostRequestsForTesting(
|
| + use_localhost_requests_);
|
| +}
|
| +
|
| +void NetworkQualityEstimator::SetUseSmallResponsesForTesting(
|
| + bool use_small_responses) {
|
| + DCHECK(thread_checker_.CalledOnValidThread());
|
| + use_small_responses_ = use_small_responses;
|
| + throughput_analyzer_->SetUseSmallResponsesForTesting(use_small_responses_);
|
| +}
|
| +
|
| void NetworkQualityEstimator::RecordHttpRTTUMA(
|
| int32_t estimated_value_msec,
|
| int32_t actual_value_msec) const {
|
|
|