2725403: Add URLLoaderClient::OnReceiveEarlyHints()
https://chromium-review.googlesource.com/c/chromium/src/+/2725403
This commit is contained in:
parent
b15b820bca
commit
185c343b22
2 changed files with 6 additions and 0 deletions
|
@ -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) {
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue