aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/net/resource_thread.rs3
-rw-r--r--components/shared/net/lib.rs2
2 files changed, 0 insertions, 5 deletions
diff --git a/components/net/resource_thread.rs b/components/net/resource_thread.rs
index d361d63f44a..4077256d6ca 100644
--- a/components/net/resource_thread.rs
+++ b/components/net/resource_thread.rs
@@ -445,9 +445,6 @@ impl ResourceChannelManager {
history_states.remove(&history_state);
}
},
- CoreResourceMsg::Synchronize(sender) => {
- let _ = sender.send(());
- },
CoreResourceMsg::ClearCache => {
http_state.http_cache.write().unwrap().clear();
},
diff --git a/components/shared/net/lib.rs b/components/shared/net/lib.rs
index 05ad102f42f..0126bdbcd80 100644
--- a/components/shared/net/lib.rs
+++ b/components/shared/net/lib.rs
@@ -517,8 +517,6 @@ pub enum CoreResourceMsg {
SetHistoryState(HistoryStateId, Vec<u8>),
/// Removes history states for the given ids
RemoveHistoryStates(Vec<HistoryStateId>),
- /// Synchronization message solely for knowing the state of the ResourceChannelManager loop
- Synchronize(IpcSender<()>),
/// Clear the network cache.
ClearCache,
/// Send the service worker network mediator for an origin to CoreResourceThread