mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Bluetooth Permission API integration
This commit is contained in:
parent
f3ddee5dbc
commit
5287cd3bea
17 changed files with 550 additions and 45 deletions
|
@ -12,7 +12,7 @@ pub mod blocklist;
|
|||
pub mod scanfilter;
|
||||
|
||||
use ipc_channel::ipc::IpcSender;
|
||||
use scanfilter::RequestDeviceoptions;
|
||||
use scanfilter::{BluetoothScanfilterSequence, RequestDeviceoptions};
|
||||
|
||||
#[derive(Deserialize, Serialize)]
|
||||
pub enum BluetoothError {
|
||||
|
@ -92,6 +92,7 @@ pub enum BluetoothRequest {
|
|||
SetRepresentedToNull(Vec<String>, Vec<String>, Vec<String>),
|
||||
IsRepresentedDeviceNull(String, IpcSender<bool>),
|
||||
GetAvailability(IpcSender<BluetoothResponseResult>),
|
||||
MatchesFilter(String, BluetoothScanfilterSequence, IpcSender<BluetoothResult<bool>>),
|
||||
Test(String, IpcSender<BluetoothResult<()>>),
|
||||
Exit,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue