mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove unused content blocker code.
I don't know what it is for, so I believe it would be better to remove it entirely until and unless we start using it.
This commit is contained in:
parent
e3cc2dd283
commit
5a61d8b2ea
7 changed files with 0 additions and 118 deletions
|
@ -4,7 +4,6 @@
|
|||
|
||||
use brotli::Decompressor;
|
||||
use connector::{Connector, create_http_connector};
|
||||
use content_blocker_parser::RuleList;
|
||||
use cookie;
|
||||
use cookie_storage::CookieStorage;
|
||||
use devtools_traits::{ChromeToDevtoolsControlMsg, DevtoolsControlMsg, HttpRequest as DevtoolsHttpRequest};
|
||||
|
@ -70,7 +69,6 @@ pub struct HttpState {
|
|||
pub hsts_list: Arc<RwLock<HstsList>>,
|
||||
pub cookie_jar: Arc<RwLock<CookieStorage>>,
|
||||
pub auth_cache: Arc<RwLock<AuthCache>>,
|
||||
pub blocked_content: Arc<Option<RuleList>>,
|
||||
pub connector_pool: Arc<Pool<Connector>>,
|
||||
}
|
||||
|
||||
|
@ -80,7 +78,6 @@ impl HttpState {
|
|||
hsts_list: Arc::new(RwLock::new(HstsList::new())),
|
||||
cookie_jar: Arc::new(RwLock::new(CookieStorage::new(150))),
|
||||
auth_cache: Arc::new(RwLock::new(AuthCache::new())),
|
||||
blocked_content: Arc::new(None),
|
||||
connector_pool: create_http_connector(certificate_path),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue