mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 02:54:54 +03:00
1a17e08f87
This commit changes the variables used to represent the size and progress of downloads from u32 to u64. This allows `pro` and `Browser` to report the total size and progress of a download correctly for downloads larger than 4GiB.
12 lines
443 B
Plaintext
12 lines
443 B
Plaintext
#include <AK/URL.h>
|
|
|
|
endpoint RequestClient
|
|
{
|
|
request_progress(i32 request_id, Optional<u64> total_size, u64 downloaded_size) =|
|
|
request_finished(i32 request_id, bool success, u64 total_size) =|
|
|
headers_became_available(i32 request_id, HashMap<DeprecatedString,DeprecatedString,CaseInsensitiveStringTraits> response_headers, Optional<u32> status_code) =|
|
|
|
|
// Certificate requests
|
|
certificate_requested(i32 request_id) =|
|
|
}
|