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

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

Issue 876623003: bluetooth: New WebBluetoothDevice attributes plumbed to BluetoothDevice. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@bt-1-
Patch Set: Created 5 years, 11 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
« no previous file with comments | « LayoutTests/bluetooth/idl-BluetoothDevice.html ('k') | Source/modules/bluetooth/BluetoothDevice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/bluetooth/BluetoothDevice.h
diff --git a/Source/modules/bluetooth/BluetoothDevice.h b/Source/modules/bluetooth/BluetoothDevice.h
index 99e215db3267c7f5b1b55b62f2fd97299689c60f..d4200452549f4e99910adfe301231987ad92a6d3 100644
--- a/Source/modules/bluetooth/BluetoothDevice.h
+++ b/Source/modules/bluetooth/BluetoothDevice.h
@@ -39,6 +39,15 @@ public:
// IDL exposed interface:
String instanceID() { return m_webDevice.instanceID; }
+ String name() { return m_webDevice.name; }
+ unsigned deviceClass(bool& isNull);
+ String vendorIDSource();
+ unsigned vendorID(bool& isNull);
+ unsigned productID(bool& isNull);
+ unsigned productVersion(bool& isNull);
+ bool paired(bool& isNull);
+ bool connected(bool& isNull);
+ Vector<String> uuids(bool& isNull);
private:
WebBluetoothDevice m_webDevice;
« no previous file with comments | « LayoutTests/bluetooth/idl-BluetoothDevice.html ('k') | Source/modules/bluetooth/BluetoothDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698