Chromium Code Reviews| Index: extensions/browser/api/bluetooth/bluetooth_api_utils.cc |
| diff --git a/extensions/browser/api/bluetooth/bluetooth_api_utils.cc b/extensions/browser/api/bluetooth/bluetooth_api_utils.cc |
| index 58a5d0a9d0e9e07a349719a434710f37e8c21f6f..05bd0765245fab6e495ec3d7c27769220a679acf 100644 |
| --- a/extensions/browser/api/bluetooth/bluetooth_api_utils.cc |
| +++ b/extensions/browser/api/bluetooth/bluetooth_api_utils.cc |
| @@ -112,19 +112,6 @@ void BluetoothDeviceToApiDevice(const device::BluetoothDevice& device, |
| out->paired.reset(new bool(device.IsPaired())); |
| out->connected.reset(new bool(device.IsConnected())); |
| - int rssi = device.GetRSSI(); |
| - if (rssi != BluetoothDevice::kUnknownPower) |
| - out->rssi.reset(new int(rssi)); |
| - |
| - if (*out->connected) { |
| - int current_transmit_power = device.GetCurrentHostTransmitPower(); |
| - if (current_transmit_power != BluetoothDevice::kUnknownPower) |
| - out->current_host_transmit_power.reset(new int(current_transmit_power)); |
| - int maximum_transmit_power = device.GetMaximumHostTransmitPower(); |
| - if (maximum_transmit_power != BluetoothDevice::kUnknownPower) |
| - out->maximum_host_transmit_power.reset(new int(maximum_transmit_power)); |
| - } |
|
Ilya Sherman
2014/11/19 22:18:07
Do you want to remove these from the IDL as well?
Tim Song
2014/12/06 00:51:38
Done.
|
| - |
| std::vector<std::string>* string_uuids = new std::vector<std::string>(); |
| const device::BluetoothDevice::UUIDList& uuids = device.GetUUIDs(); |
| for (device::BluetoothDevice::UUIDList::const_iterator iter = uuids.begin(); |