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 8211e09e4e7709aa289d08ee8844433a36de7cc4..92568a5fce7d4eb6f47754787fbf01b4dcfc1c49 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h |
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h |
@@ -10,6 +10,7 @@ |
#include "modules/EventTargetModules.h" |
#include "modules/bluetooth/BluetoothRemoteGATTServer.h" |
#include "platform/heap/Heap.h" |
+#include "public/platform/modules/bluetooth/WebBluetoothDevice.h" |
#include "public/platform/modules/bluetooth/WebBluetoothDeviceInit.h" |
#include "wtf/OwnPtr.h" |
#include "wtf/PassOwnPtr.h" |
@@ -30,7 +31,8 @@ class ScriptState; |
// CallbackPromiseAdapter class comments. |
class BluetoothDevice final |
: public EventTargetWithInlineData |
- , public ActiveDOMObject { |
+ , public ActiveDOMObject |
+ , public WebBluetoothDevice { |
USING_PRE_FINALIZER(BluetoothDevice, dispose); |
DEFINE_WRAPPERTYPEINFO(); |
USING_GARBAGE_COLLECTED_MIXIN(BluetoothDevice); |
@@ -65,6 +67,9 @@ public: |
const AtomicString& interfaceName() const override; |
ExecutionContext* getExecutionContext() const override; |
+ // WebBluetoothDevice interface: |
+ void dispatchGattServerDisconnected() override; |
+ |
// Interface required by Garbage Collection: |
DECLARE_VIRTUAL_TRACE(); |