Bug 785942 - Part 1: IDL update. sr=sicking, r=smaug
authorYoshi Huang <allstars.chh@mozilla.com>
Mon, 27 Aug 2012 18:55:27 -0300
changeset 103768 07b339718a40b4f7c51afc7499567735b81d78f6
parent 103767 338e6a97f0de919ea0e59c0e91689c8c49bed4d6
child 103769 d87b9221e5c4b109f9fba24922d36257a40bcccf
push id23376
push userryanvm@gmail.com
push dateThu, 30 Aug 2012 00:15:25 +0000
treeherdermozilla-central@706174d31a02 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssicking, smaug
bugs785942
milestone18.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 785942 - Part 1: IDL update. sr=sicking, r=smaug
dom/network/interfaces/Makefile.in
dom/network/interfaces/nsIDOMNavigatorNetwork.idl
dom/network/interfaces/nsINavigatorMobileConnection.idl
--- a/dom/network/interfaces/Makefile.in
+++ b/dom/network/interfaces/Makefile.in
@@ -11,20 +11,26 @@ include $(DEPTH)/config/autoconf.mk
 
 XPIDL_MODULE = dom_network
 
 include $(topsrcdir)/dom/dom-config.mk
 
 XPIDLSRCS = \
   nsIDOMNavigatorNetwork.idl \
   nsIDOMConnection.idl \
-  nsIDOMMobileConnection.idl \
-  nsIMobileConnectionProvider.idl \
   nsIDOMUSSDReceivedEvent.idl \
   nsIDOMTCPSocket.idl \
   $(NULL)
 
+ifdef MOZ_B2G_RIL
+XPIDLSRCS += \
+  nsIDOMMobileConnection.idl \
+  nsIMobileConnectionProvider.idl \
+  nsINavigatorMobileConnection.idl \
+  $(NULL)
+endif
+
 include $(topsrcdir)/config/rules.mk
 
 XPIDL_FLAGS += \
   -I$(topsrcdir)/dom/interfaces/base \
   -I$(topsrcdir)/dom/interfaces/events \
   $(NULL)
--- a/dom/network/interfaces/nsIDOMNavigatorNetwork.idl
+++ b/dom/network/interfaces/nsIDOMNavigatorNetwork.idl
@@ -1,15 +1,13 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsISupports.idl"
 
 interface nsIDOMMozConnection;
-interface nsIDOMMozMobileConnection;
 
-[scriptable, uuid(fb7c3429-aa2c-4ccc-948a-467c0de29fff)]
+[scriptable, uuid(c1685d27-f2e2-4ed9-998f-ff5b1442058f)]
 interface nsIDOMMozNavigatorNetwork : nsISupports
 {
   readonly attribute nsIDOMMozConnection mozConnection;
-  readonly attribute nsIDOMMozMobileConnection mozMobileConnection;
 };
new file mode 100644
--- /dev/null
+++ b/dom/network/interfaces/nsINavigatorMobileConnection.idl
@@ -0,0 +1,13 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#include "nsISupports.idl"
+
+interface nsIDOMMozMobileConnection;
+
+[scriptable, uuid(d8672694-3334-4d0d-a4c3-38fa70c265d0)]
+interface nsIMozNavigatorMobileConnection : nsISupports
+{
+  readonly attribute nsIDOMMozMobileConnection mozMobileConnection;
+};