Chromium Code Reviews| Index: net/nqe/external_estimate_provider.h |
| diff --git a/net/nqe/external_estimate_provider.h b/net/nqe/external_estimate_provider.h |
| index 7fd58f5f9dd3876efcacbd38aa947aa88ccc00a6..3417e99a294ecc5204c15b3a58b3bd55a9e49ec5 100644 |
| --- a/net/nqe/external_estimate_provider.h |
| +++ b/net/nqe/external_estimate_provider.h |
| @@ -19,8 +19,16 @@ class NET_EXPORT ExternalEstimateProvider { |
| public: |
| class NET_EXPORT UpdatedEstimateDelegate { |
| public: |
| - // Will be called when an updated estimate is available. |
| - virtual void OnUpdatedEstimateAvailable() = 0; |
| + // Will be called with updated RTT, downstream throughput (in kilobits per |
|
bengr
2016/05/27 19:58:42
nit: downstream throughput (in kilobits per second
tbansal1
2016/05/27 23:39:15
Done.
|
| + // second) and upstream throughput (in kilobits per second) when an updated |
| + // estimate is available. If |rtt| is unavailable, it is set to |
| + // base::TimeDelta(). If |downstream_throughput_kbps| or |
| + // |upstream_throughput_kbps| are unavailble, they are set to -1, |
| + // respectively. |
| + virtual void OnUpdatedEstimateAvailable( |
| + const base::TimeDelta& rtt, |
| + int32_t downstream_throughput_kbps, |
| + int32_t upstream_throughput_kbps) = 0; |
| protected: |
| UpdatedEstimateDelegate() {} |