| Index: content/common/url_loader.mojom
|
| diff --git a/content/common/url_loader.mojom b/content/common/url_loader.mojom
|
| index f66e93c97371e2a7a37f7e0399a841a4801cddb4..c8d8ac3a9c50f8ce4c599ae1829dbe7aebb20a65 100644
|
| --- a/content/common/url_loader.mojom
|
| +++ b/content/common/url_loader.mojom
|
| @@ -11,6 +11,9 @@ struct URLRequest;
|
| struct URLResponseHead;
|
|
|
| [Native]
|
| +struct URLRequestRedirectInfo;
|
| +
|
| +[Native]
|
| struct URLLoaderStatus;
|
|
|
| // Destroying a URLLoader will cancel the associated request.
|
| @@ -25,6 +28,10 @@ interface URLLoaderClient {
|
| // Called when the response head is received.
|
| OnReceiveResponse(URLResponseHead head);
|
|
|
| + // Called when the request has been redirected. The receiver is expected to
|
| + // call FollowRedirect or cancel the request.
|
| + OnReceiveRedirect(URLRequestRedirectInfo redirect_info, URLResponseHead head);
|
| +
|
| // Called when some data from a resource request has been downloaded to the
|
| // file. This is only called in the 'download_to_file' case and replaces
|
| // OnStartLoadingResponseBody in the call sequence in that case.
|
|
|