Call URLLoaderClient methods in caller of a helper function

ServiceWorkerUtils::SendHttpResponseInfoToClient() takes an URLLoaderClient
(precisely network::mojom::URLLoaderClientProxy) and calls the methods. However,
caller class owns the Mojo pointer and it makes slightly harder to understand
where a series of methods of URLLoaderClient are called. This CL is to move the
Mojo calls to the caller.

Bug: 648295
Change-Id: If33fd0e011fd02606d1231fa19b39a8a412b7ff1
Commit-Queue: Makoto Shimazu <>
Auto-Submit: Makoto Shimazu <>
Reviewed-by: Matt Falkenhagen <>
Cr-Commit-Position: refs/heads/master@{#653947}
4 files changed