Bug 929376 - Part 1: Move 'IsConnected' from BluetoothManager.webidl to BluetoothAdapter.webidl and make it asynchronous. sr=mrbkap

This commit is contained in:
Jamin Liu 2014-08-25 03:52:00 -04:00
parent 9df2c84a06
commit b036c1b754
2 changed files with 3 additions and 2 deletions

View File

@ -117,6 +117,9 @@ interface BluetoothAdapter : EventTarget {
[NewObject, Throws]
DOMRequest disconnect(BluetoothDevice device, optional unsigned short serviceUuid);
[NewObject, Throws]
DOMRequest isConnected(unsigned short serviceUuid);
// One device can only send one file at a time
[NewObject, Throws]
DOMRequest sendFile(DOMString deviceAddress, Blob blob);

View File

@ -12,8 +12,6 @@ interface BluetoothManager : EventTarget {
attribute EventHandler ondisabled;
attribute EventHandler onadapteradded;
[Throws]
boolean isConnected(unsigned short aProfile);
[NewObject, Throws]
DOMRequest? getDefaultAdapter();
};