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 096cda7b8d4f6d9d1963926e0b9b70ac515a07a0..a0ec5dbebcccce6851544e0904fec601537a1b9d 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h |
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h |
@@ -6,6 +6,7 @@ |
#define BluetoothDevice_h |
#include "bindings/core/v8/ScriptWrappable.h" |
+#include "modules/bluetooth/BluetoothAdvertisingData.h" |
#include "platform/heap/Heap.h" |
#include "public/platform/modules/bluetooth/WebBluetoothDevice.h" |
#include "wtf/OwnPtr.h" |
@@ -38,11 +39,12 @@ public: |
static BluetoothDevice* take(ScriptPromiseResolver*, PassOwnPtr<WebBluetoothDevice>); |
// Interface required by Garbage Collection: |
- DEFINE_INLINE_TRACE() { } |
+ DECLARE_VIRTUAL_TRACE(); |
// IDL exposed interface: |
String id() { return m_webDevice->id; } |
String name() { return m_webDevice->name; } |
+ BluetoothAdvertisingData* adData() { return m_adData; } |
unsigned deviceClass(bool& isNull); |
String vendorIDSource(); |
unsigned vendorID(bool& isNull); |
@@ -53,6 +55,7 @@ public: |
private: |
OwnPtr<WebBluetoothDevice> m_webDevice; |
+ Member<BluetoothAdvertisingData> m_adData; |
}; |
} // namespace blink |