| Index: net/nqe/network_quality_estimator.cc
|
| diff --git a/net/nqe/network_quality_estimator.cc b/net/nqe/network_quality_estimator.cc
|
| index e05ec56394946d1592eedd63d29b43b8787d4ad7..256722a179b707ab1a3c37adc65e94bbe6b36e32 100644
|
| --- a/net/nqe/network_quality_estimator.cc
|
| +++ b/net/nqe/network_quality_estimator.cc
|
| @@ -622,6 +622,21 @@ NetworkQualityEstimator::GetSocketPerformanceWatcherFactory() {
|
| return watcher_factory_.get();
|
| }
|
|
|
| +void NetworkQualityEstimator::SetUseLocalHostRequestsForTesting(
|
| + bool use_localhost_requests) {
|
| + DCHECK(thread_checker_.CalledOnValidThread());
|
| + use_localhost_requests_ = use_localhost_requests;
|
| + 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_);
|
| +}
|
| +
|
| bool NetworkQualityEstimator::RequestProvidesRTTObservation(
|
| const URLRequest& request) const {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
|
|