зеркало из https://github.com/mozilla/pjs.git
Bug 736087 - Remove the ns prefix from the WifiWorker component. r=philikon DONTBUILD
--HG-- rename : dom/wifi/nsWifiWorker.h => dom/wifi/WifiWorker.h rename : dom/wifi/nsWifiWorker.js => dom/wifi/WifiWorker.js rename : dom/wifi/nsWifiWorker.manifest => dom/wifi/WifiWorker.manifest
This commit is contained in:
Родитель
7634baecc2
Коммит
8857d23808
|
@ -407,8 +407,8 @@
|
|||
@BINPATH@/components/RadioInterfaceLayer.js
|
||||
@BINPATH@/components/SmsDatabaseService.manifest
|
||||
@BINPATH@/components/SmsDatabaseService.js
|
||||
@BINPATH@/components/nsWifiWorker.js
|
||||
@BINPATH@/components/nsWifiWorker.manifest
|
||||
@BINPATH@/components/WifiWorker.js
|
||||
@BINPATH@/components/WifiWorker.manifest
|
||||
@BINPATH@/components/DOMWifiManager.js
|
||||
@BINPATH@/components/DOMWifiManager.manifest
|
||||
#endif
|
||||
|
|
|
@ -388,8 +388,8 @@
|
|||
@BINPATH@/components/RadioInterfaceLayer.js
|
||||
@BINPATH@/components/SmsDatabaseService.manifest
|
||||
@BINPATH@/components/SmsDatabaseService.js
|
||||
@BINPATH@/components/nsWifiWorker.js
|
||||
@BINPATH@/components/nsWifiWorker.manifest
|
||||
@BINPATH@/components/WifiWorker.js
|
||||
@BINPATH@/components/WifiWorker.manifest
|
||||
@BINPATH@/components/DOMWifiManager.js
|
||||
@BINPATH@/components/DOMWifiManager.manifest
|
||||
#endif
|
||||
|
|
|
@ -935,8 +935,8 @@ xpicleanup@BIN_SUFFIX@
|
|||
components/nsTelephonyWorker.js
|
||||
components/Telephony.manifest
|
||||
components/Telephony.js
|
||||
components/nsWifiWorker.js
|
||||
components/nsWifiWorker.manifest
|
||||
components/WifiWorker.js
|
||||
components/WifiWorker.manifest
|
||||
components/DOMWifiManager.js
|
||||
components/DOMWifiManager.manifest
|
||||
#endif
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
#include "nsServiceManagerUtils.h"
|
||||
#include "nsThreadUtils.h"
|
||||
#include "nsRadioInterfaceLayer.h"
|
||||
#include "nsWifiWorker.h"
|
||||
#include "WifiWorker.h"
|
||||
|
||||
|
||||
USING_WORKERS_NAMESPACE
|
||||
|
|
|
@ -55,8 +55,8 @@ XPIDLSRCS = \
|
|||
$(NULL)
|
||||
|
||||
EXTRA_COMPONENTS = \
|
||||
nsWifiWorker.js \
|
||||
nsWifiWorker.manifest \
|
||||
WifiWorker.js \
|
||||
WifiWorker.manifest \
|
||||
DOMWifiManager.js \
|
||||
DOMWifiManager.manifest \
|
||||
$(NULL)
|
||||
|
|
|
@ -1077,7 +1077,7 @@ function isWepHexKey(s) {
|
|||
let netToDOM;
|
||||
let netFromDOM;
|
||||
|
||||
function nsWifiWorker() {
|
||||
function WifiWorker() {
|
||||
var self = this;
|
||||
|
||||
this._mm = Cc["@mozilla.org/parentprocessmessagemanager;1"].getService(Ci.nsIFrameMessageManager);
|
||||
|
@ -1333,7 +1333,7 @@ function nsWifiWorker() {
|
|||
debug("Wifi starting");
|
||||
}
|
||||
|
||||
nsWifiWorker.prototype = {
|
||||
WifiWorker.prototype = {
|
||||
classID: WIFIWORKER_CID,
|
||||
classInfo: XPCOMUtils.generateCI({classID: WIFIWORKER_CID,
|
||||
contractID: WIFIWORKER_CONTRACTID,
|
||||
|
@ -1478,12 +1478,12 @@ nsWifiWorker.prototype = {
|
|||
}
|
||||
};
|
||||
|
||||
const NSGetFactory = XPCOMUtils.generateNSGetFactory([nsWifiWorker]);
|
||||
const NSGetFactory = XPCOMUtils.generateNSGetFactory([WifiWorker]);
|
||||
|
||||
let debug;
|
||||
if (DEBUG) {
|
||||
debug = function (s) {
|
||||
dump("-*- nsWifiWorker component: " + s + "\n");
|
||||
dump("-*- WifiWorker component: " + s + "\n");
|
||||
};
|
||||
} else {
|
||||
debug = function (s) {};
|
|
@ -0,0 +1 @@
|
|||
component {a14e8977-d259-433a-a88d-58dd44657e5b} WifiWorker.js
|
|
@ -1 +0,0 @@
|
|||
component {a14e8977-d259-433a-a88d-58dd44657e5b} nsWifiWorker.js
|
|
@ -403,8 +403,8 @@
|
|||
@BINPATH@/components/nsTelephonyWorker.js
|
||||
@BINPATH@/components/Telephony.manifest
|
||||
@BINPATH@/components/Telephony.js
|
||||
@BINPATH@/components/nsWifiWorker.js
|
||||
@BINPATH@/components/nsWifiWorker.manifest
|
||||
@BINPATH@/components/WifiWorker.js
|
||||
@BINPATH@/components/WifiWorker.manifest
|
||||
@BINPATH@/components/DOMWifiManager.js
|
||||
@BINPATH@/components/DOMWifiManager.manifest
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче