| Index: third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h
|
| diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h
|
| index 6f6fdaa395f7c1eaec7506a6071569f0962ece4c..eb3fd7196588f1a1253ea9c2b3dd389079426b76 100644
|
| --- a/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h
|
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h
|
| @@ -18,11 +18,13 @@
|
| namespace blink {
|
|
|
| class BluetoothAttributeInstanceMap;
|
| +class BluetoothRemoteGATTCharacteristic;
|
| class BluetoothRemoteGATTServer;
|
| class BluetoothRemoteGATTService;
|
| class ScriptPromise;
|
| class ScriptPromiseResolver;
|
|
|
| +struct WebBluetoothRemoteGATTCharacteristicInit;
|
| struct WebBluetoothRemoteGATTService;
|
|
|
| // BluetoothDevice represents a physical bluetooth device in the DOM. See IDL.
|
| @@ -50,6 +52,12 @@ class BluetoothDevice final : public EventTargetWithInlineData,
|
| std::unique_ptr<WebBluetoothRemoteGATTService>);
|
| bool isValidService(const String& serviceInstanceId);
|
|
|
| + BluetoothRemoteGATTCharacteristic*
|
| + getOrCreateBluetoothRemoteGATTCharacteristic(
|
| + ExecutionContext*,
|
| + std::unique_ptr<WebBluetoothRemoteGATTCharacteristicInit>,
|
| + BluetoothRemoteGATTService*);
|
| +
|
| // We should disconnect from the device in all of the following cases:
|
| // 1. When the object gets GarbageCollected e.g. it went out of scope.
|
| // dispose() is called in this case.
|
|
|