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

Unified Diff: chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.cc

Issue 2577183002: Add UMA for the number of devices in the chooser when a device is paired (Closed)
Patch Set: address comments 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/chrome_extension_bluetooth_chooser.cc
diff --git a/chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.cc b/chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.cc
index 044006e369a098b29c314a74fecd9abfd5cdd780..c59e14cab841040c7c24966745a4f24c95797070 100644
--- a/chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.cc
+++ b/chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.cc
@@ -10,9 +10,10 @@
ChromeExtensionBluetoothChooser::ChromeExtensionBluetoothChooser(
content::RenderFrameHost* frame,
- const content::BluetoothChooser::EventHandler& event_handler) {
+ const content::BluetoothChooser::EventHandler& event_handler,
+ bool accept_all_devices) {
std::unique_ptr<BluetoothChooserController> bluetooth_chooser_controller(
- new BluetoothChooserController(frame, event_handler));
+ new BluetoothChooserController(frame, event_handler, accept_all_devices));
// Since ChromeExtensionBluetoothChooser object is destroyed before the
// view object which owns |bluetooth_chooser_controller_| when the chooser
// bubble/dialog closes, it is safe to store and use the raw pointer here.

Powered by Google App Engine
This is Rietveld 408576698