diff options
author | Bastien Orivel <eijebong@bananium.fr> | 2017-11-21 22:58:30 +0100 |
---|---|---|
committer | Bastien Orivel <eijebong@bananium.fr> | 2017-11-21 23:03:16 +0100 |
commit | d55e0fa8027788e689df3f89a7903547879d0960 (patch) | |
tree | 5051668e5678ae44ea4c23b1a43afc9ecca9d9e7 /components/net_traits/lib.rs | |
parent | d1e4fdb7faf5b32079e83fa03fe0386bb7c65db3 (diff) | |
download | servo-d55e0fa8027788e689df3f89a7903547879d0960.tar.gz servo-d55e0fa8027788e689df3f89a7903547879d0960.zip |
Remove cancellation map and ResourceId from the net* components
Fixes #19327
Diffstat (limited to 'components/net_traits/lib.rs')
-rw-r--r-- | components/net_traits/lib.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/components/net_traits/lib.rs b/components/net_traits/lib.rs index c5aad91ce26..32e730eede8 100644 --- a/components/net_traits/lib.rs +++ b/components/net_traits/lib.rs @@ -362,8 +362,6 @@ pub enum CoreResourceMsg { GetCookiesForUrl(ServoUrl, IpcSender<Option<String>>, CookieSource), /// Get a cookie by name for a given originating URL GetCookiesDataForUrl(ServoUrl, IpcSender<Vec<Serde<Cookie<'static>>>>, CookieSource), - /// Cancel a network request corresponding to a given `ResourceId` - Cancel(ResourceId), /// Synchronization message solely for knowing the state of the ResourceChannelManager loop Synchronize(IpcSender<()>), /// Send the network sender in constellation to CoreResourceThread @@ -500,10 +498,6 @@ pub fn load_whole_resource(request: RequestInit, } } -/// An unique identifier to keep track of each load message in the resource handler -#[derive(Clone, Copy, Debug, Deserialize, Eq, Hash, MallocSizeOf, PartialEq, Serialize)] -pub struct ResourceId(pub u32); - /// Network errors that have to be exported out of the loaders #[derive(Clone, Debug, Deserialize, Eq, MallocSizeOf, PartialEq, Serialize)] pub enum NetworkError { |