Chromium Code Reviews| Index: content/browser/bluetooth/bluetooth_device_chooser_controller.h |
| diff --git a/content/browser/bluetooth/bluetooth_device_chooser_controller.h b/content/browser/bluetooth/bluetooth_device_chooser_controller.h |
| index b9e21cc55689db5dee842442b57243593c81dcb2..65721d4bc69638bdd20c10081763d2c543ad8d20 100644 |
| --- a/content/browser/bluetooth/bluetooth_device_chooser_controller.h |
| +++ b/content/browser/bluetooth/bluetooth_device_chooser_controller.h |
| @@ -140,6 +140,12 @@ class CONTENT_EXPORT BluetoothDeviceChooserController final { |
| // started. |
| base::Timer discovery_session_timer_; |
| + // It's possible to receive notifications about new devices after |
| + // we've told the chooser to be idle. In this case, we don't want to |
| + // update the chooser. This variable keeps track of whether or not the |
| + // choser is idle and should no longer be updated. |
|
juncai
2016/08/26 19:37:48
typo:
s/choser/chooser
ortuno
2016/09/12 05:11:28
Done.
|
| + bool should_update_chooser_; |
| + |
| // The last discovery session to be started. |
| // TODO(ortuno): This should be null unless there is an active discovery |
| // session. We need to null it when the platform stops discovery. |