Index: content/common/renderer.mojom |
diff --git a/content/common/renderer.mojom b/content/common/renderer.mojom |
index 6c7fb6abb946757b3f8bc5cdb246c0a774c4e9c0..b860044d7414fda2a3b01cd37ca535aeddc844b7 100644 |
--- a/content/common/renderer.mojom |
+++ b/content/common/renderer.mojom |
@@ -157,6 +157,14 @@ interface Renderer { |
OnNetworkConnectionChanged(NetworkConnectionType connection_type, |
double max_bandwidth_mbps); |
+ // Tells the renderer process that the network quality estimate has changed. |
+ // The RTT estimates are in milliseconds, while the downstream throughput is |
+ // computed in kilobits per second. If an estimate of the HTTP or transport |
+ // RTT is unavailable, it will be set to net::nqe::internal::InvalidRTT(). If |
+ // the throughput estimate is unavailable, it will be set to |
+ // net::nqe::internal::kInvalidThroughput. |
+ OnNetworkQualityChanged(double http_rtt_msec, double transport_rtt_msec, double bandwidth_kbps); |
+ |
// Tells the renderer to suspend/resume the webkit timers. Only for use on |
// Android. |
SetWebKitSharedTimersSuspended(bool suspend); |