Index: device/bluetooth/bluetooth_classic_device_mac.h |
diff --git a/device/bluetooth/bluetooth_classic_device_mac.h b/device/bluetooth/bluetooth_classic_device_mac.h |
index acd1dca315e7a0a2d6128b5129293fd986a6e905..6a0e59242d017b35b99ba74a6d9d92d1f21e49cd 100644 |
--- a/device/bluetooth/bluetooth_classic_device_mac.h |
+++ b/device/bluetooth/bluetooth_classic_device_mac.h |
@@ -41,8 +41,8 @@ class BluetoothClassicDeviceMac : public BluetoothDeviceMac { |
bool IsConnectable() const override; |
bool IsConnecting() const override; |
UUIDList GetUUIDs() const override; |
- int16_t GetInquiryRSSI() const override; |
- int16_t GetInquiryTxPower() const override; |
+ base::Optional<int8_t> GetInquiryRSSI() const override; |
+ base::Optional<int8_t> GetInquiryTxPower() const override; |
bool ExpectingPinCode() const override; |
bool ExpectingPasskey() const override; |
bool ExpectingConfirmation() const override; |
@@ -89,7 +89,7 @@ class BluetoothClassicDeviceMac : public BluetoothDeviceMac { |
// Implementation to read the host's transmit power level of type |
// |power_level_type|. |
- int GetHostTransmitPower( |
+ base::Optional<int8_t> GetHostTransmitPower( |
BluetoothHCITransmitPowerLevelType power_level_type) const; |
base::scoped_nsobject<IOBluetoothDevice> device_; |