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..c75c05e3c26f0c49c72e8fcbb9f47d7a5009dec3 100644 |
--- a/net/nqe/external_estimate_provider.h |
+++ b/net/nqe/external_estimate_provider.h |
@@ -19,8 +19,15 @@ 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 and upstream throughput (both |
+ // 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() {} |