aboutsummaryrefslogtreecommitdiffstats
path: root/components/net_traits/lib.rs
diff options
context:
space:
mode:
authorMarcus Klaas <mail@marcusklaas.nl>2015-04-19 13:26:56 +0200
committerMarcus Klaas <mail@marcusklaas.nl>2015-04-19 13:26:56 +0200
commitc1f25bbfe43e47276f1449e060c3efc6976d30fa (patch)
treecb4f36c59a5c3440cef1d9ea28b562b74637daa2 /components/net_traits/lib.rs
parent40ee41ca92206768b53cb5768c0b38fd7ba439dc (diff)
downloadservo-c1f25bbfe43e47276f1449e060c3efc6976d30fa.tar.gz
servo-c1f25bbfe43e47276f1449e060c3efc6976d30fa.zip
Replace usage of ResponseSenders by LoadConsumer
Diffstat (limited to 'components/net_traits/lib.rs')
-rw-r--r--components/net_traits/lib.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/components/net_traits/lib.rs b/components/net_traits/lib.rs
index fe11294b2a5..d73e3563194 100644
--- a/components/net_traits/lib.rs
+++ b/components/net_traits/lib.rs
@@ -203,20 +203,6 @@ pub enum CookieSource {
NonHTTP,
}
-pub enum ResponseSenders {
- Channel(Sender<LoadResponse>),
- Listener(Box<AsyncResponseTarget+ Send>),
-}
-
-impl ResponseSenders {
- pub fn from_consumer(consumer: LoadConsumer) -> ResponseSenders {
- match consumer {
- LoadConsumer::Channel(c) => ResponseSenders::Channel(c),
- LoadConsumer::Listener(l) => ResponseSenders::Listener(l),
- }
- }
-}
-
/// Messages sent in response to a `Load` message
#[derive(PartialEq,Debug)]
pub enum ProgressMsg {