Index: third_party/WebKit/Source/modules/netinfo/NetworkInformation.idl |
diff --git a/third_party/WebKit/Source/modules/netinfo/NetworkInformation.idl b/third_party/WebKit/Source/modules/netinfo/NetworkInformation.idl |
index 4520d9a57b90cb3807df9cba2cc4bab868de2f58..a09b917fc0295fb7f76f2e29240a80107864b6fd 100644 |
--- a/third_party/WebKit/Source/modules/netinfo/NetworkInformation.idl |
+++ b/third_party/WebKit/Source/modules/netinfo/NetworkInformation.idl |
@@ -16,6 +16,7 @@ enum ConnectionType { |
}; |
typedef unrestricted double Megabit; |
+typedef unsigned long long Milliseconds; |
[ |
ActiveScriptWrappable, |
@@ -27,4 +28,6 @@ typedef unrestricted double Megabit; |
[RuntimeEnabled=NetInfoDownlinkMax, MeasureAs=NetInfoDownlinkMax] readonly attribute Megabit downlinkMax; |
[RuntimeEnabled=NetInfoDownlinkMax, MeasureAs=NetInfoOnChange] attribute EventHandler onchange; |
[MeasureAs=NetInfoOnTypeChange] attribute EventHandler ontypechange; |
+ [RuntimeEnabled=NetInfoRtt, MeasureAs=NetInfoRtt] readonly attribute Milliseconds rtt; |
+ [RuntimeEnabled=NetInfoDownlink, MeasureAs=NetInfoDownlink] readonly attribute Megabit downlink; |
}; |