Refactor InspectorNetworkAgent callbacks from ThreadableLoader and its clients
State is stored when starting certain ThreadableLoaderClients, to be used when the DocumentThreadableLoader is constructed. In any case where a DocumentThreadableLoader begins a fetch, WillSendRequest() will be called, so perfrom this work in WillSendRequest() and reduce the number of calls to InspectorNetworkAgent Change-Id: Ia8a5e130df73b0022755ddcde9bcbb754ceaca3c Reviewed-on: https://chromium-review.googlesource.com/1070617Reviewed-by:Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/master@{#561906}
Showing
Please register or sign in to comment