Bug 787421 - nsIWifi.idl changes. r=mrbkap
authorVincent Chang <vchang@mozilla.com>
Thu, 13 Sep 2012 15:19:26 +0800
changeset 107967 1bf9b829548cba0a05f6d749d0c54b71ada3346d
parent 107966 bebaecb60f44c15310cca144f6a5f5231837ad69
child 107968 c614f656bc13045bbbea3ba9298e067dc693b3e9
push id23524
push useremorley@mozilla.com
push dateTue, 25 Sep 2012 13:14:59 +0000
treeherdermozilla-central@7c7639f797d0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmrbkap
bugs787421
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 787421 - nsIWifi.idl changes. r=mrbkap
dom/wifi/nsIWifi.idl
--- a/dom/wifi/nsIWifi.idl
+++ b/dom/wifi/nsIWifi.idl
@@ -1,44 +1,25 @@
 /* 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"
 #include "nsIDOMDOMRequest.idl"
 #include "nsIDOMEvent.idl"
-#include "nsINetworkManager.idl"
 
 interface nsIVariant;
 
-[scriptable, function, uuid(c675c7c3-5261-480a-98f3-69934c9ab7c6)]
-interface nsIWifiTetheringCallback : nsISupports
-{
-  /**
-   * Callback function used to report status to NetworkManager.
-   * result: 0: success, others: fail.
-   * networkInterface: report wifi network interface's name.
-   */
-  void wifiTetheringEnabledChange(in jsval result,
-                                  in nsINetworkInterface networkInterface);
-};
-
-[scriptable, uuid(65649c30-d312-11e1-9b23-0800200c9a66)]
+[scriptable, uuid(335ff8a0-fb18-11e1-a21f-0800200c9a66)]
 interface nsIWifi : nsISupports
 {
     /**
      * Shutdown the wifi system.
      */
     void shutdown();
-    /**
-     * Request to enable/disable Wifi Tethering.
-     * enabled: true or false.
-     * callback: report status to NetworkManager.
-     */
-    void setWifiTethering(in boolean enabled, in nsIWifiTetheringCallback callback);
 };
 
 [scriptable, uuid(e3a967e0-015e-11e2-a21f-0800200c9a66)]
 interface nsIDOMWifiManager : nsISupports
 {
     /**
      * Returns the list of currently available networks as well as the list of
      * currently configured networks.