Clean up response handling in ResourceLoader/ResourceFetcher
This moves all of ResourceLoader's non-trivial response handling logic to ResourceFetcher, and changes the ordering of some steps to better match other callbacks. Old order: - Access control checks in ResourceLoader::didReceiveResponse() - Resource::responseReceived() - Access control checks in ResourceFetcher::didReceiveResponse() - FetchContext::dispatchDidReceiveResponse() New order: - Access control checks in ResourceLoader::didReceiveResponse() (now in ResourceFetcher) - Access control checks in ResourceFetcher::didReceiveResponse() - FetchContext::dispatchDidReceiveResponse() - Resource::responseReceived() BUG= Review-Url: https://codereview.chromium.org/1975373002 Cr-Commit-Position: refs/heads/master@{#408808}
Showing
Please register or sign in to comment