| Index: net/nqe/network_quality_estimator.cc
|
| diff --git a/net/nqe/network_quality_estimator.cc b/net/nqe/network_quality_estimator.cc
|
| index 93e177d07803d2e5bf6a3798106f1792a317f7ad..ce6f17c0a541dde4b790d8a5fb740d39b1ddeb57 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_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_);
|
| +}
|
| +
|
| bool NetworkQualityEstimator::RequestProvidesRTTObservation(
|
| const URLRequest& request) const {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
|
|