Chromium Code Reviews| 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..f3e6e95aa4e7ab1c9d5d42cef8d9aadf665ae2b2 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 unrestricted double MilliSeconds; |
|
bengr
2017/05/12 19:09:55
Should 'S' really be capitalized?
tbansal1
2017/05/12 22:18:17
Done.
|
| [ |
| 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; |
| }; |