| Index: content/public/browser/bluetooth_chooser.h
|
| diff --git a/content/public/browser/bluetooth_chooser.h b/content/public/browser/bluetooth_chooser.h
|
| index ea2b4f554f95288f8e66a579e469629c9b7810b9..84b5cbea65a806a3de3147a8138eaa052981ec2a 100644
|
| --- a/content/public/browser/bluetooth_chooser.h
|
| +++ b/content/public/browser/bluetooth_chooser.h
|
| @@ -69,8 +69,13 @@ class CONTENT_EXPORT BluetoothChooser {
|
| virtual void ShowDiscoveryState(DiscoveryState state) {}
|
|
|
| // Adds a new device to the chooser or updates the information of an existing
|
| - // device. Passing nullptr for |rssi| means that the device doesn't not have
|
| - // RSSI which happens when the device is already connected.
|
| + // device.
|
| + //
|
| + // Sometimes when a Bluetooth device stops advertising, the |device_name| can
|
| + // be invalid, and in that case |should_update_name| will be set false.
|
| + //
|
| + // Passing nullptr for |rssi| means that the device doesn't have RSSI which
|
| + // happens when the device is already connected.
|
| virtual void AddOrUpdateDevice(const std::string& device_id,
|
| bool should_update_name,
|
| const base::string16& device_name,
|
|
|