mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
storage: Move shared functionality to base (#39419)
Part of #39418. See that PR for a full description. Moves: - `read_json_from_file` - `write_json_to_file` - `IpcSendResult` - `IpcSend` Renames: - `CoreResourceThreadPool` to `ThreadPool` (shorter and more descriptive, as we use it for more than the core resource thread now) Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
This commit is contained in:
parent
ba208b19cc
commit
f766b66a97
25 changed files with 254 additions and 98 deletions
|
@ -18,12 +18,12 @@ use std::sync::Arc;
|
|||
use std::sync::atomic::{AtomicIsize, Ordering};
|
||||
use std::thread;
|
||||
|
||||
use base::IpcSend;
|
||||
use base::id::PipelineId;
|
||||
use crossbeam_channel::{Receiver, Sender, unbounded};
|
||||
use dom_struct::dom_struct;
|
||||
use js::jsapi::{GCReason, JS_GC, JS_GetGCParameter, JSGCParamKey, JSTracer};
|
||||
use malloc_size_of::malloc_size_of_is_0;
|
||||
use net_traits::IpcSend;
|
||||
use net_traits::request::{Destination, RequestBuilder, RequestMode};
|
||||
use rustc_hash::FxHashMap;
|
||||
use servo_url::{ImmutableOrigin, ServoUrl};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue