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 76534e50ab788a1dc1b188c173d24b1dfdb227c5..e2d97b5ae18eef833d5e99a5ddfb2fb17cd040c5 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& id, |
const WebString& name, |
+ int8_t txPower, |
+ int8_t rssi, |
int32_t deviceClass, |
VendorIDSource vendorIDSource, |
uint16_t vendorID, |
@@ -29,6 +31,8 @@ struct WebBluetoothDevice { |
const WebVector<WebString>& uuids) |
: id(id) |
, name(name) |
+ , txPower(txPower) |
+ , rssi(rssi) |
, deviceClass(deviceClass) |
, vendorIDSource(vendorIDSource) |
, vendorID(vendorID) |
@@ -42,6 +46,10 @@ struct WebBluetoothDevice { |
// Members corresponding to BluetoothDevice attributes as specified in IDL. |
const WebString id; |
const WebString name; |
+ // Powers: |
+ // A value of 127 denotes an invalid power. |
+ const int8_t txPower; |
+ const int8_t rssi; |
const int32_t deviceClass; |
const VendorIDSource vendorIDSource; |
const uint16_t vendorID; |