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

Unified Diff: third_party/WebKit/Source/platform/exported/WebNetworkStateNotifier.cpp

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: third_party/WebKit/Source/platform/exported/WebNetworkStateNotifier.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebNetworkStateNotifier.cpp b/third_party/WebKit/Source/platform/exported/WebNetworkStateNotifier.cpp
index d910883fbf1bd2eb68354b05ad3de935c26e1b5f..8fee3f6c97b49298239e7d03466ce96c1bc941a6 100644
--- a/third_party/WebKit/Source/platform/exported/WebNetworkStateNotifier.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebNetworkStateNotifier.cpp
@@ -43,10 +43,11 @@ void WebNetworkStateNotifier::SetWebConnection(WebConnectionType type,
GetNetworkStateNotifier().SetWebConnection(type, max_bandwidth_mbps);
}
-void WebNetworkStateNotifier::SetNetworkQuality(TimeDelta http_rtt,
+void WebNetworkStateNotifier::SetNetworkQuality(WebEffectiveConnectionType type,
+ TimeDelta http_rtt,
TimeDelta transport_rtt,
int downlink_throughput_kbps) {
- GetNetworkStateNotifier().SetNetworkQuality(http_rtt, transport_rtt,
+ GetNetworkStateNotifier().SetNetworkQuality(type, http_rtt, transport_rtt,
downlink_throughput_kbps);
}

Powered by Google App Engine
This is Rietveld 408576698