| Index: modules/bluetooth/BluetoothDevice.idl
|
| diff --git a/modules/bluetooth/BluetoothDevice.idl b/modules/bluetooth/BluetoothDevice.idl
|
| index 70ba6f875326080aa034797454ccc319f302436a..13ac4792572252409329f42646fe3b8f692624d8 100644
|
| --- a/modules/bluetooth/BluetoothDevice.idl
|
| +++ b/modules/bluetooth/BluetoothDevice.idl
|
| @@ -13,22 +13,27 @@ enum VendorIDSource {
|
|
|
| [
|
| GarbageCollected,
|
| + DependentLifetime,
|
| RuntimeEnabled=WebBluetooth,
|
| -] interface BluetoothDevice
|
| + // TODO(https://crbug.com/584113) Enable Web Bluetooth Experiment.
|
| + // OriginTrialEnabled=WebBluetooth,
|
| +] interface BluetoothDevice : EventTarget
|
| // Implement ServiceEventHandlers interface: http://crbug.com/421670
|
| -// : ServiceEventHandlers
|
| +// : ServiceEventHandlers
|
| {
|
| // Implement BluetoothDevice interface: http://crbug.com/421668
|
| - readonly attribute DOMString instanceID;
|
| + [DeprecateAs=BluetoothDeviceInstanceId, ImplementedAs=id] readonly attribute DOMString instanceID;
|
| + readonly attribute DOMString id;
|
| readonly attribute DOMString? name;
|
| -// readonly attribute BluetoothAdvertisingData adData;
|
| + readonly attribute BluetoothAdvertisingData adData;
|
| readonly attribute unsigned long? deviceClass;
|
| readonly attribute VendorIDSource? vendorIDSource;
|
| readonly attribute unsigned long? vendorID;
|
| readonly attribute unsigned long? productID;
|
| readonly attribute unsigned long? productVersion;
|
| - readonly attribute boolean paired;
|
| -// readonly attribute BluetoothGATTRemoteServer? gattServer;
|
| + readonly attribute BluetoothRemoteGATTServer gatt;
|
| readonly attribute UUID[] uuids;
|
| - [CallWith=ScriptState] Promise<BluetoothGATTRemoteServer> connectGATT ();
|
| + [CallWith=ScriptState, DeprecateAs=BluetoothDeviceConnectGATT] Promise<BluetoothRemoteGATTServer> connectGATT ();
|
| +
|
| + attribute EventHandler ongattserverdisconnected;
|
| };
|
|
|