mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 18:19:03 +00:00
RequestServer: Remove download progress updates that nobody used
This commit is contained in:
parent
f0fc516cf2
commit
853a75c4ab
Notes:
github-actions[bot]
2024-09-19 05:38:44 +00:00
Author: https://github.com/awesomekling
Commit: 853a75c4ab
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1400
7 changed files with 0 additions and 29 deletions
|
@ -19,7 +19,6 @@ bool Request::stop()
|
|||
{
|
||||
on_headers_received = nullptr;
|
||||
on_finish = nullptr;
|
||||
on_progress = nullptr;
|
||||
on_certificate_requested = nullptr;
|
||||
|
||||
m_internal_buffered_data = nullptr;
|
||||
|
@ -88,12 +87,6 @@ void Request::did_finish(Badge<RequestClient>, bool success, u64 total_size)
|
|||
on_finish(success, total_size);
|
||||
}
|
||||
|
||||
void Request::did_progress(Badge<RequestClient>, Optional<u64> total_size, u64 downloaded_size)
|
||||
{
|
||||
if (on_progress)
|
||||
on_progress(total_size, downloaded_size);
|
||||
}
|
||||
|
||||
void Request::did_receive_headers(Badge<RequestClient>, HTTP::HeaderMap const& response_headers, Optional<u32> response_code)
|
||||
{
|
||||
if (on_headers_received)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue