Index: content/browser/bluetooth/bluetooth_device_chooser_controller.cc |
diff --git a/content/browser/bluetooth/bluetooth_device_chooser_controller.cc b/content/browser/bluetooth/bluetooth_device_chooser_controller.cc |
index d524f19a864af9ab0535804a44eb4ad78e27bf78..a15d33bc087041cd1ec0784cacdf3ffbf05191d0 100644 |
--- a/content/browser/bluetooth/bluetooth_device_chooser_controller.cc |
+++ b/content/browser/bluetooth/bluetooth_device_chooser_controller.cc |
@@ -353,8 +353,8 @@ void BluetoothDeviceChooserController::AddFilteredDevice( |
chooser_->AddOrUpdateDevice( |
device.GetAddress(), !!device.GetName() /* should_update_name */, |
device.GetNameForDisplay(), |
- // TODO(http://crbug.com/543466): Show connection and paired status. |
- false /* is_gatt_connected */, false /* is_paired */, |
+ device.IsGattConnected() /* is_gatt_connected */, |
+ device.IsPaired() /* is_paired */, |
ortuno
2016/09/07 02:47:02
BluetoothDevice::IsPaired() returns whether or not
juncai
2016/09/09 20:06:15
Done.
|
rssi ? CalculateSignalStrengthLevel(rssi.value()) : -1); |
} |
} |