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

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

Issue 2577183002: Add UMA for the number of devices in the chooser when a device is paired (Closed)
Patch Set: fixed android build Created 4 years 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 6a6a0d657ef98836c12be3137cb7438f6f4f05b1..609d8f33d198f5b381a9eb1acdbf7e984a65adf7 100644
--- a/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.h
+++ b/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.h
@@ -22,9 +22,10 @@
// access a Bluetooth device. It is owned by ChooserBubbleDelegate.
class BluetoothChooserController : public ChooserController {
public:
- explicit BluetoothChooserController(
+ BluetoothChooserController(
content::RenderFrameHost* owner,
- const content::BluetoothChooser::EventHandler& event_handler);
+ const content::BluetoothChooser::EventHandler& event_handler,
+ bool accept_all_devices);
~BluetoothChooserController() override;
// ChooserController:
@@ -87,6 +88,7 @@ class BluetoothChooserController : public ChooserController {
content::BluetoothChooser::EventHandler event_handler_;
base::string16 status_text_;
+ bool accept_all_devices_;
DISALLOW_COPY_AND_ASSIGN(BluetoothChooserController);
};

Powered by Google App Engine
This is Rietveld 408576698