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

Unified Diff: third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothDevice.h

Issue 1427653003: bluetooth: Implement TxPower and RSSI of BluetoothAdvertisementData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Fix webexposed test 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/public/platform/modules/bluetooth/WebBluetoothDevice.h
diff --git a/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothDevice.h b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothDevice.h
index a357987c9e721a2a6c1cfc00216d6eba17dbd7fb..47385bb01f124b9a9e75387f92ff3b556600ad9b 100644
--- a/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothDevice.h
+++ b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothDevice.h
@@ -20,6 +20,8 @@ struct WebBluetoothDevice {
WebBluetoothDevice(const WebString& instanceID,
const WebString& name,
+ int txPower,
+ int rssi,
int32_t deviceClass,
VendorIDSource vendorIDSource,
uint16_t vendorID,
@@ -29,6 +31,8 @@ struct WebBluetoothDevice {
const WebVector<WebString>& uuids)
: instanceID(instanceID)
, name(name)
+ , txPower(txPower)
+ , rssi(rssi)
, deviceClass(deviceClass)
, vendorIDSource(vendorIDSource)
, vendorID(vendorID)
@@ -42,6 +46,8 @@ struct WebBluetoothDevice {
// Members corresponding to BluetoothDevice attributes as specified in IDL.
const WebString instanceID;
const WebString name;
+ const int txPower;
scheib 2015/10/29 17:37:26 Document the expected bounds of this value, and th
ortuno 2015/10/29 20:21:42 Done.
+ const int rssi;
const int32_t deviceClass;
const VendorIDSource vendorIDSource;
const uint16_t vendorID;

Powered by Google App Engine
This is Rietveld 408576698