Index: third_party/WebKit/public/platform/WebNetworkStateNotifier.h |
diff --git a/third_party/WebKit/public/platform/WebNetworkStateNotifier.h b/third_party/WebKit/public/platform/WebNetworkStateNotifier.h |
index 396ddd5d128bc80dee573c4d2850ae737f020e79..a91b024ac867db2ff6334664a556da6c263a1af9 100644 |
--- a/third_party/WebKit/public/platform/WebNetworkStateNotifier.h |
+++ b/third_party/WebKit/public/platform/WebNetworkStateNotifier.h |
@@ -31,6 +31,7 @@ |
#ifndef WebNetworkStateNotifier_h |
#define WebNetworkStateNotifier_h |
+#include "base/time/time.h" |
#include "public/platform/WebCommon.h" |
#include "public/platform/WebConnectionType.h" |
@@ -41,6 +42,10 @@ class WebNetworkStateNotifier { |
BLINK_PLATFORM_EXPORT static void SetOnLine(bool); |
BLINK_PLATFORM_EXPORT static void SetWebConnection(WebConnectionType, |
double max_bandwidth_mbps); |
+ BLINK_PLATFORM_EXPORT static void SetNetworkQuality( |
+ base::TimeDelta http_rtt, |
+ base::TimeDelta transport_rtt, |
+ int downlink_throughput_kbps); |
private: |
WebNetworkStateNotifier(); |