Chromium Code Reviews| 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..1727ee4f89e4e6b0686d220b609dbc64da10c7df 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 "platform/wtf/Time.h" |
|
dcheng
2017/05/17 12:27:46
I'm not sure we can use platform/wtf/Time.h in a p
tbansal1
2017/05/18 00:10:30
This should have been from the //base. Fixed.
|
| #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( |
| + TimeDelta http_rtt, |
| + TimeDelta transport_rtt, |
| + int downlink_throughput_kbps); |
| private: |
| WebNetworkStateNotifier(); |