mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
refactor(filemanager): remove awareness to ui behavior
This commit is contained in:
parent
4125b54c0d
commit
f69b124444
5 changed files with 1 additions and 71 deletions
|
@ -11,7 +11,7 @@ use devtools_traits::DevtoolsControlMsg;
|
|||
use embedder_traits::resources::{self, Resource};
|
||||
use fetch::cors_cache::CorsCache;
|
||||
use fetch::methods::{CancellationListener, FetchContext, fetch};
|
||||
use filemanager_thread::{FileManager, TFDProvider};
|
||||
use filemanager_thread::FileManager;
|
||||
use hsts::HstsList;
|
||||
use http_cache::HttpCache;
|
||||
use http_loader::{HttpState, http_redirect_fetch};
|
||||
|
@ -47,8 +47,6 @@ use std::thread;
|
|||
use storage_thread::StorageThreadFactory;
|
||||
use websocket_loader;
|
||||
|
||||
const TFD_PROVIDER: &'static TFDProvider = &TFDProvider;
|
||||
|
||||
/// Returns a tuple of (public, private) senders to the new threads.
|
||||
pub fn new_resource_threads(user_agent: Cow<'static, str>,
|
||||
devtools_chan: Option<Sender<DevtoolsControlMsg>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue