Class SimpleUrlLoader

Class Documentation

class SimpleUrlLoader

Public Types

using ResultCallback = base::OnceCallback<void(ResourceResponse)>

Public Static Functions

static RequestCancellationToken DownloadUnbounded(ResourceRequest request, ResultCallback on_done_callback)
static RequestCancellationToken DownloadLimited(ResourceRequest request, size_t max_response_size_bytes, ResultCallback on_done_callback)
static void CancelRequest(RequestCancellationToken cancellation_token)