| Index: chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.cc
|
| diff --git a/chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.cc b/chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.cc
|
| index f7edd9b8c97a166b860d5fe518b9abe9f38b4733..36ee5f14809dc83c5e3c321f10ed9071174d9e81 100644
|
| --- a/chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.cc
|
| +++ b/chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.cc
|
| @@ -33,10 +33,16 @@ void ChromeExtensionBluetoothChooser::ShowDiscoveryState(DiscoveryState state) {
|
| bluetooth_chooser_controller_->OnDiscoveryStateChanged(state);
|
| }
|
|
|
| -void ChromeExtensionBluetoothChooser::AddDevice(
|
| +void ChromeExtensionBluetoothChooser::AddOrUpdateDevice(
|
| const std::string& device_id,
|
| - const base::string16& device_name) {
|
| - bluetooth_chooser_controller_->AddDevice(device_id, device_name);
|
| + bool should_update_name,
|
| + const base::string16& device_name,
|
| + bool is_gatt_connected,
|
| + bool is_paired,
|
| + const int8_t* rssi) {
|
| + bluetooth_chooser_controller_->AddOrUpdateDevice(
|
| + device_id, should_update_name, device_name, is_gatt_connected, is_paired,
|
| + rssi);
|
| }
|
|
|
| void ChromeExtensionBluetoothChooser::RemoveDevice(
|
|
|