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

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

Issue 2304213002: Show device connection and paired status in chooser on Mac (Closed)
Patch Set: updated variable name Created 4 years, 3 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/web_bluetooth_service_impl.cc
diff --git a/content/browser/bluetooth/web_bluetooth_service_impl.cc b/content/browser/bluetooth/web_bluetooth_service_impl.cc
index dd558e67991a5f61f9db46a217cfcb8a548586a1..187b8f6c945fdaa5a4228c5a74e36940f6e59f58 100644
--- a/content/browser/bluetooth/web_bluetooth_service_impl.cc
+++ b/content/browser/bluetooth/web_bluetooth_service_impl.cc
@@ -685,8 +685,8 @@ void WebBluetoothServiceImpl::RequestDeviceImpl(
// they can't conflict.
device_chooser_controller_.reset();
- device_chooser_controller_.reset(
- new BluetoothDeviceChooserController(this, render_frame_host_, adapter));
+ device_chooser_controller_.reset(new BluetoothDeviceChooserController(
+ this, render_frame_host_, adapter, &allowed_devices_map_, GetOrigin()));
device_chooser_controller_->GetDevice(
std::move(options),

Powered by Google App Engine
This is Rietveld 408576698