Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h

Issue 1403323007: bluetooth: WIP Advertising Data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-characteristic-properties
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..2afc4f7f813107456edc26cdb470ef28fd148d99 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h
@@ -14,6 +14,7 @@
namespace blink {
+class BluetoothAdvertisingData;
class ScriptPromise;
class ScriptPromiseResolver;
class ScriptState;
@@ -43,6 +44,7 @@ public:
// 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

Powered by Google App Engine
This is Rietveld 408576698