refactor(filemanager): remove awareness to ui behavior

This commit is contained in:
OJ Kwon 2018-03-30 12:06:31 -07:00
parent 4125b54c0d
commit f69b124444
No known key found for this signature in database
GPG key ID: 6C23A45602A44DA6
5 changed files with 1 additions and 71 deletions

View file

@ -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>>,