Chromium Code Reviews| Index: device/bluetooth/bluetooth_device.h |
| diff --git a/device/bluetooth/bluetooth_device.h b/device/bluetooth/bluetooth_device.h |
| index 8b4c5b0018f11595db363041b4df3fb9814c5371..d238e5c968002c9c7d56552e0993ea74e926687c 100644 |
| --- a/device/bluetooth/bluetooth_device.h |
| +++ b/device/bluetooth/bluetooth_device.h |
| @@ -307,13 +307,13 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDevice { |
| // The received signal strength, in dBm. This field is avaliable and valid |
| // only during discovery. If not during discovery, or RSSI wasn't reported, |
| // this method will return |kUnknownPower|. |
|
scheib
2016/08/09 20:39:18
Will no longer return the kUnknownPower, right? Ed
ortuno
2016/08/09 22:10:39
Done.
|
| - virtual int16_t GetInquiryRSSI() const = 0; |
| + virtual base::Optional<int8_t> GetInquiryRSSI() const = 0; |
| // The transmitted power level. This field is avaliable only for LE devices |
| // that include this field in AD. It is avaliable and valid only during |
| // discovery. If not during discovery, or TxPower wasn't reported, this |
| // method will return |kUnknownPower|. |
| - virtual int16_t GetInquiryTxPower() const = 0; |
| + virtual base::Optional<int8_t> GetInquiryTxPower() const = 0; |
| // The ErrorCallback is used for methods that can fail in which case it |
| // is called, in the success case the callback is simply not called. |