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

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

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: content/browser/bluetooth/bluetooth_device_chooser_controller.cc
diff --git a/content/browser/bluetooth/bluetooth_device_chooser_controller.cc b/content/browser/bluetooth/bluetooth_device_chooser_controller.cc
index 6a0e22a8eb8277c5a6bad3e9f4ddd816aae8fc9b..a992818379b15eea62846601721c66b2dbe8dbae 100644
--- a/content/browser/bluetooth/bluetooth_device_chooser_controller.cc
+++ b/content/browser/bluetooth/bluetooth_device_chooser_controller.cc
@@ -389,8 +389,9 @@ void BluetoothDeviceChooserController::GetDevice(
base::Unretained(this));
if (WebContentsDelegate* delegate = web_contents_->GetDelegate()) {
- chooser_ = delegate->RunBluetoothChooser(render_frame_host_,
- chooser_event_handler);
+ chooser_ =
+ delegate->RunBluetoothChooser(render_frame_host_, chooser_event_handler,
+ options_->accept_all_devices);
}
if (!chooser_.get()) {

Powered by Google App Engine
This is Rietveld 408576698