NQE: Exclude network observations from private networks

Desktop / Chromium - tbansal [chromium.org] - 19 June 2017 01:55 EDT

Skip RTTs from private networks when computing the network quality in Network Quality Estimator (NQE). Similarly, if a request to a private network is in-flight, throughput observations are not taken.

BUG=731797 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester

Review-Url: https://codereview.chromium.org/2936823002 Cr-Commit-Position: refs/heads/master@{#480357}

82edab4 NQE: Exclude network observations from private networks
net/BUILD.gn | 3 +
net/nqe/network_quality_estimator.cc | 17 +-
net/nqe/network_quality_estimator.h | 4 +
net/nqe/network_quality_estimator_util.cc | 46 +++++
net/nqe/network_quality_estimator_util.h | 40 +++++
net/nqe/network_quality_estimator_util_unittest.cc | 186 +++++++++++++++++++++
net/nqe/throughput_analyzer.cc | 19 ++-
net/nqe/throughput_analyzer.h | 14 +-
net/nqe/throughput_analyzer_unittest.cc | 41 ++++-
9 files changed, 350 insertions(+), 20 deletions(-)

Upstream: git.chromium.org


  • Share