Bug 963541 - B2G NFC: Remove NFCTag.connect and NFCTag.close. r=smaug, r=dimi

This commit is contained in:
Yoshi Huang 2014-08-27 05:13:00 -04:00
parent c91a226c12
commit ad683a630b
2 changed files with 0 additions and 10 deletions

View File

@ -72,13 +72,6 @@ MozNFCTag.prototype = {
makeReadOnlyNDEF: function makeReadOnlyNDEF() {
return this._nfcContentHelper.makeReadOnlyNDEF(this._window, this.session);
},
connect: function connect(enum_tech_type) {
let int_tech_type = this._techTypesMap[enum_tech_type];
return this._nfcContentHelper.connect(this._window, int_tech_type, this.session);
},
close: function close() {
return this._nfcContentHelper.close(this._window, this.session);
},
classID: Components.ID("{4e1e2e90-3137-11e3-aa6e-0800200c9a66}"),
contractID: "@mozilla.org/nfc/NFCTag;1",

View File

@ -29,9 +29,6 @@ interface MozNFCTag {
DOMRequest readNDEF();
DOMRequest writeNDEF(sequence<MozNDEFRecord> records);
DOMRequest makeReadOnlyNDEF();
DOMRequest connect(NFCTechType techType);
DOMRequest close();
};
// Mozilla Only