mirror of
https://github.com/servo/servo.git
synced 2025-07-21 22:33:41 +01:00
DevTools: Add resource_available
as a common shared util (#36632)
These PR adds `resource_available` as a common shared util - [x] ./mach build -d does not report any errors - [x] ./mach test-tidy does not report any errors - [x] These changes partially implement https://github.com/servo/servo/issues/36027 --------- Signed-off-by: atbrakhi <atbrakhi@igalia.com>
This commit is contained in:
parent
e9e103b46c
commit
7c1e5918a8
6 changed files with 68 additions and 28 deletions
|
@ -30,6 +30,7 @@ use devtools_traits::{
|
|||
use embedder_traits::{AllowOrDeny, EmbedderMsg, EmbedderProxy};
|
||||
use ipc_channel::ipc::{self, IpcSender};
|
||||
use log::trace;
|
||||
use resource::ResourceAvailable;
|
||||
use serde::Serialize;
|
||||
use servo_rand::RngCore;
|
||||
|
||||
|
@ -75,6 +76,7 @@ mod actors {
|
|||
mod id;
|
||||
mod network_handler;
|
||||
mod protocol;
|
||||
mod resource;
|
||||
|
||||
#[derive(Clone, Debug, Eq, Hash, PartialEq)]
|
||||
enum UniqueId {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue