2725403: Add URLLoaderClient::OnReceiveEarlyHints()

https://chromium-review.googlesource.com/c/chromium/src/+/2725403
This commit is contained in:
John Kleinschmidt 2021-03-16 10:12:15 -04:00
parent b15b820bca
commit 185c343b22
2 changed files with 6 additions and 0 deletions

View file

@ -240,6 +240,10 @@ void ProxyingURLLoaderFactory::InProgressRequest::OnReceiveResponse(
}
}
void OnReceiveEarlyHints(network::mojom::EarlyHintsPtr early_hints) {
target_client_->OnReceiveEarlyHints(std::move(early_hints));
}
void ProxyingURLLoaderFactory::InProgressRequest::OnReceiveRedirect(
const net::RedirectInfo& redirect_info,
network::mojom::URLResponseHeadPtr head) {

View file

@ -74,6 +74,8 @@ class ProxyingURLLoaderFactory
// network::mojom::URLLoaderClient:
void OnReceiveResponse(network::mojom::URLResponseHeadPtr head) override;
void OnReceiveEarlyHints(
network::mojom::EarlyHintsPtr early_hints) override;
void OnReceiveRedirect(const net::RedirectInfo& redirect_info,
network::mojom::URLResponseHeadPtr head) override;
void OnUploadProgress(int64_t current_position,