Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1673)

Unified Diff: content/common/renderer.mojom

Issue 2883763002: Expose ECT to render frames, Blink and NetInfo (Closed)
Patch Set: rebased Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/renderer.mojom
diff --git a/content/common/renderer.mojom b/content/common/renderer.mojom
index dbdd196714cf3a07e6a23cabca36d3c2be2650f5..4ab29c1dfd33e77fdd5601b6c32f4f609c0a0f07 100644
--- a/content/common/renderer.mojom
+++ b/content/common/renderer.mojom
@@ -159,11 +159,14 @@ interface Renderer {
double max_bandwidth_mbps);
// Tells the renderer process that the network quality estimate has changed.
+ // EffectiveConnectionType is the connection type whose typical performance is
+ // most similar to the measured performance of the network in use.
// 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(mojo.common.mojom.TimeDelta http_rtt,
+ OnNetworkQualityChanged(EffectiveConnectionType effective_connection_type,
+ mojo.common.mojom.TimeDelta http_rtt,
mojo.common.mojom.TimeDelta transport_rtt,
double bandwidth_kbps);

Powered by Google App Engine
This is Rietveld 408576698