Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(619)

Unified Diff: content/browser/bluetooth/bluetooth_device_chooser_controller.h

Issue 2271413002: bluetooth: Implement RSSI indicator on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-impl-rssi-tx-power
Patch Set: Clean up Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698