Add the NetworkQualityEstimator class that is notified
commitea2fb8c1af36cc540a32217d908fd01a6af40303
authortbansal <tbansal@chromium.org>
Fri, 22 May 2015 22:23:00 +0000 (22 15:23 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 22 May 2015 22:23:36 +0000 (22 22:23 +0000)
tree16b032708c22872b3ac1a6ec1a7be57796424a8d
parent5d9b0f5d5b1666e058e6572e49ad89735c24c2f1
Add the NetworkQualityEstimator class that is notified
when net stack receives data.

Expose PeakKbps and FastestRTT Statistics through
GetEstimate() API which may be used by clients like Lo-Fi.

PeakKbps and FastestRTT computation is now
based on prefilter bytes which correctly
represent the amount of data that was transferred
over the wire.

BUG=472678, 478162

Review URL: https://codereview.chromium.org/1061583002

Cr-Commit-Position: refs/heads/master@{#331192}
13 files changed:
chrome/browser/io_thread.cc
chrome/browser/io_thread.h
chrome/browser/profiles/profile_impl_io_data.cc
net/base/network_quality.h [new file with mode: 0644]
net/base/network_quality_estimator.cc [new file with mode: 0644]
net/base/network_quality_estimator.h [new file with mode: 0644]
net/base/network_quality_estimator_unittest.cc [new file with mode: 0644]
net/net.gypi
net/url_request/url_request_context.cc
net/url_request/url_request_context.h
net/url_request/url_request_job.cc
net/url_request/url_request_unittest.cc
tools/metrics/histograms/histograms.xml