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 fa40a92c1483fac6d474cc8a6910fc22d26f0899..c86b66a7d076f1445e75c7b808070c22f8431fdd 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 instanceID() { return m_webDevice->instanceID; } |
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 |