Index: modules/netinfo/WorkerNavigatorNetworkInformation.idl |
diff --git a/modules/netinfo/WorkerNavigatorNetworkInformation.idl b/modules/netinfo/WorkerNavigatorNetworkInformation.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a2126fa44a6f5a9dc90dbfb21223558008f9ae91 |
--- /dev/null |
+++ b/modules/netinfo/WorkerNavigatorNetworkInformation.idl |
@@ -0,0 +1,10 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+[ |
+ RuntimeEnabled=NetworkInformation, |
+ Exposed=Worker |
+] partial interface WorkerNavigator { |
+ [CallWith=ExecutionContext] readonly attribute NetworkInformation connection; |
+}; |