mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 01:00:05 +00:00
LibWeb: Rename ConnectionQueue to RequestList
This commit is contained in:
parent
439245b14a
commit
b43bb2429a
Notes:
github-actions[bot]
2025-01-14 22:47:13 +00:00
Author: https://github.com/stelar7
Commit: b43bb2429a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3190
Reviewed-by: https://github.com/Lubrsi
Reviewed-by: https://github.com/gmta ✅
6 changed files with 67 additions and 28 deletions
|
@ -28,13 +28,13 @@ void Database::visit_edges(Visitor& visitor)
|
|||
visitor.visit(m_upgrade_transaction);
|
||||
}
|
||||
|
||||
ConnectionQueue& ConnectionQueueHandler::for_key_and_name(StorageAPI::StorageKey& key, String& name)
|
||||
RequestList& ConnectionQueueHandler::for_key_and_name(StorageAPI::StorageKey& key, String& name)
|
||||
{
|
||||
return ConnectionQueueHandler::the().m_open_requests.ensure(key, [] {
|
||||
return HashMap<String, ConnectionQueue>();
|
||||
return HashMap<String, RequestList>();
|
||||
})
|
||||
.ensure(name, [] {
|
||||
return ConnectionQueue();
|
||||
return RequestList();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue