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

Unified Diff: chrome/browser/ui/bluetooth/bluetooth_chooser_controller.h

Issue 2506163002: Increase Web Bluetooth device scanning duration (Closed)
Patch Set: increase Web Bluetooth device scanning duration Created 4 years, 1 month 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: chrome/browser/ui/bluetooth/bluetooth_chooser_controller.h
diff --git a/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.h b/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.h
index 64cce63199a98003ba3fd6862d52e9a8cbe4f5e3..450339d17e608fa61200a9432c93d3d99ffea90e 100644
--- a/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.h
+++ b/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.h
@@ -13,6 +13,8 @@
#include <vector>
#include "base/macros.h"
+#include "base/optional.h"
+#include "base/time/time.h"
#include "chrome/browser/chooser_controller/chooser_controller.h"
#include "content/public/browser/bluetooth_chooser.h"
@@ -87,6 +89,7 @@ class BluetoothChooserController : public ChooserController {
content::BluetoothChooser::EventHandler event_handler_;
base::string16 status_text_;
+ base::Optional<base::TimeTicks> scanning_start_time_;
DISALLOW_COPY_AND_ASSIGN(BluetoothChooserController);
};

Powered by Google App Engine
This is Rietveld 408576698