feat(serial): allow Bluetooth ports to be requested by service class ID (#41638)

* feat(serial): allow Bluetooth ports to be requested by service class ID

* fix: bluetooth dependency
This commit is contained in:
Shelley Vohr 2024-03-28 18:23:13 +01:00 committed by GitHub
parent c6102b9278
commit 61457c9498
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 70 additions and 20 deletions

View file

@ -67,6 +67,7 @@ class ElectronSerialDelegate : public content::SerialDelegate,
SerialChooserController* AddControllerForFrame(
content::RenderFrameHost* render_frame_host,
std::vector<blink::mojom::SerialPortFilterPtr> filters,
std::vector<device::BluetoothUUID> allowed_bluetooth_service_class_ids,
content::SerialChooser::Callback callback);
base::ScopedObservation<SerialChooserContext,