You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/constellation/pipeline.rs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
3
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
4
5
-
use bluetooth_traits::BluetoothMethodMsg;
5
+
use bluetooth_traits::BluetoothRequest;
6
6
use compositing::CompositionPipeline;
7
7
use compositing::CompositorProxy;
8
8
use compositing::compositor_thread::MsgasCompositorMsg;
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
4
5
5
use bluetooth_blacklist::{Blacklist, uuid_is_blacklisted};
6
-
use bluetooth_traits::{BluetoothError,BluetoothMethodMsg};
6
+
use bluetooth_traits::{BluetoothError,BluetoothRequest};
7
+
use bluetooth_traits::{BluetoothResponse,BluetoothResponseListener,BluetoothResponseResult};
7
8
use bluetooth_traits::scanfilter::{BluetoothScanfilter,BluetoothScanfilterSequence};
8
9
use bluetooth_traits::scanfilter::{RequestDeviceoptions,ServiceUUIDSequence};
9
10
use core::clone::Clone;
@@ -12,6 +13,7 @@ use dom::bindings::codegen::Bindings::BluetoothBinding::RequestDeviceOptions;
12
13
use dom::bindings::error::Error::{self,Security,Type};
13
14
use dom::bindings::error::Fallible;
14
15
use dom::bindings::js::Root;
16
+
use dom::bindings::refcounted::{Trusted,TrustedPromise};
15
17
use dom::bindings::reflector::{Reflectable,Reflector, reflect_dom_object};
16
18
use dom::bindings::str::DOMString;
17
19
use dom::bluetoothadvertisingdata::BluetoothAdvertisingData;
@@ -20,8 +22,11 @@ use dom::bluetoothuuid::{BluetoothServiceUUID, BluetoothUUID};
20
22
use dom::globalscope::GlobalScope;
21
23
use dom::promise::Promise;
22
24
use ipc_channel::ipc::{self,IpcSender};
23
-
use js::conversions::ToJSValConvertible;
25
+
use ipc_channel::router::ROUTER;
26
+
use js::jsapi::{JSAutoCompartment,JSContext};
27
+
use network_listener::{NetworkListener,PreInvoke};
24
28
use std::rc::Rc;
29
+
use std::sync::{Arc,Mutex};
25
30
26
31
constFILTER_EMPTY_ERROR:&'staticstr = "'filters' member, if present, must be nonempty to find any devices.";
27
32
constFILTER_ERROR:&'staticstr = "A filter must restrict the devices in some way.";
@@ -39,6 +44,33 @@ const SERVICE_ERROR: &'static str = "'services', if present, must contain at lea
39
44
constOPTIONS_ERROR:&'staticstr = "Fields of 'options' conflict with each other.
40
45
Either 'acceptAllDevices' member must be true, or 'filters' member must be set to a value.";
0 commit comments