Convert NFC and NFCProvider to new Mojo types

This CL converts NFCRequest and NFCProviderPtr in content and blink
to the new Mojo type.

Bug: 955171, 978694
Change-Id: I58ef7bfeb5b0e2ba4b62bd245a94f054202b75fe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1806614
Reviewed-by: Bo <[email protected]>
Reviewed-by: Dave Tapuska <[email protected]>
Reviewed-by: Reilly Grant <[email protected]>
Commit-Queue: Miyoung Shin <[email protected]>
Cr-Commit-Position: refs/heads/master@{#697123}
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index f194fb6..6ca26bf 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -3308,9 +3308,10 @@
 }
 
 #if defined(OS_ANDROID)
-void WebContentsImpl::GetNFC(device::mojom::NFCRequest request) {
+void WebContentsImpl::GetNFC(
+    mojo::PendingReceiver<device::mojom::NFC> receiver) {
   NFCHost nfc_host(this);
-  nfc_host.GetNFC(std::move(request));
+  nfc_host.GetNFC(std::move(receiver));
 }
 #endif