Convert URLLoaderClientRequest to new Mojo types

This CL converts URLLoaderClientRequest to new Mojo types
using PendingReceiver and Receiver.

Bug: 955171
Change-Id: Ib359451c4e8286b61e24327dc15a1629d4a6c0ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1883457
Commit-Queue: Julie Kim <[email protected]>
Reviewed-by: Avi Drissman <[email protected]>
Reviewed-by: Kevin McNee <[email protected]>
Reviewed-by: Ken Rockot <[email protected]>
Reviewed-by: Sam McNally <[email protected]>
Reviewed-by: Matt Falkenhagen <[email protected]>
Reviewed-by: Kentaro Hara <[email protected]>
Cr-Commit-Position: refs/heads/master@{#710257}
diff --git a/content/browser/appcache/appcache_request_handler.h b/content/browser/appcache/appcache_request_handler.h
index 8bf60f9..db47771 100644
--- a/content/browser/appcache/appcache_request_handler.h
+++ b/content/browser/appcache/appcache_request_handler.h
@@ -21,6 +21,7 @@
 #include "content/browser/loader/single_request_url_loader_factory.h"
 #include "content/common/content_export.h"
 #include "content/public/common/resource_type.h"
+#include "mojo/public/cpp/bindings/pending_receiver.h"
 #include "services/network/public/cpp/shared_url_loader_factory.h"
 
 namespace net {
@@ -74,7 +75,7 @@
       const network::ResourceResponseHead& response_head,
       mojo::ScopedDataPipeConsumerHandle* response_body,
       network::mojom::URLLoaderPtr* loader,
-      network::mojom::URLLoaderClientRequest* client_request,
+      mojo::PendingReceiver<network::mojom::URLLoaderClient>* client_receiver,
       blink::ThrottlingURLLoader* url_loader,
       bool* skip_other_interceptors,
       bool* will_return_unsafe_redirect) override;