Index: device/bluetooth/bluetooth_low_energy_device_mac.mm |
diff --git a/device/bluetooth/bluetooth_low_energy_device_mac.mm b/device/bluetooth/bluetooth_low_energy_device_mac.mm |
index c3d6d1d154dfc5bb6ec9ab61995de7ffc31f34e6..ce4f7f3f351777f9ce07899c4a4fa0633e76fe00 100644 |
--- a/device/bluetooth/bluetooth_low_energy_device_mac.mm |
+++ b/device/bluetooth/bluetooth_low_energy_device_mac.mm |
@@ -145,13 +145,13 @@ BluetoothDevice::UUIDList BluetoothLowEnergyDeviceMac::GetUUIDs() const { |
advertised_uuids_.end()); |
} |
-int16_t BluetoothLowEnergyDeviceMac::GetInquiryRSSI() const { |
- return kUnknownPower; |
+base::Optional<int8_t> BluetoothLowEnergyDeviceMac::GetInquiryRSSI() const { |
+ return base::Optional<int8_t>(); |
} |
-int16_t BluetoothLowEnergyDeviceMac::GetInquiryTxPower() const { |
+base::Optional<int8_t> BluetoothLowEnergyDeviceMac::GetInquiryTxPower() const { |
NOTIMPLEMENTED(); |
- return kUnknownPower; |
+ return base::Optional<int8_t>(); |
} |
bool BluetoothLowEnergyDeviceMac::ExpectingPinCode() const { |