commit | 59f39ffd8c2aa44da1bd763fe6c14293787b5609 | [log] [tgz] |
---|---|---|
author | Miyoung Shin <[email protected]> | Tue Sep 17 07:23:20 2019 |
committer | Commit Bot <[email protected]> | Tue Sep 17 07:23:20 2019 |
tree | 084e56c9dd6a0fa3137649e483dc4ba65ec35afc | |
parent | aa1c2802a73218def8bbe3ff4e57870739efa6f2 [diff] [blame] |
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