| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index c89a49a3dc6fe6abb5723ffd762f80c39be65972..eaeb30e2a342daf5ba0905ce483d371a4c38cb67 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -120,6 +120,7 @@
|
| #include "content/public/common/url_utils.h"
|
| #include "content/public/common/web_preferences.h"
|
| #include "device/geolocation/geolocation_service_context.h"
|
| +#include "device/nfc/nfc.mojom.h"
|
| #include "net/base/url_util.h"
|
| #include "net/http/http_cache.h"
|
| #include "net/http/http_transaction_factory.h"
|
| @@ -4090,6 +4091,10 @@ void WebContentsImpl::RenderFrameCreated(RenderFrameHost* render_frame_host) {
|
| render_frame_host->Send(
|
| new FrameMsg_EnableViewSourceMode(render_frame_host->GetRoutingID()));
|
| }
|
| +#if defined(OS_ANDROID)
|
| + render_frame_host->GetInterfaceRegistry()->AddInterface(
|
| + GetJavaInterfaces()->CreateInterfaceFactory<device::nfc::mojom::NFC>());
|
| +#endif
|
| }
|
|
|
| void WebContentsImpl::RenderFrameDeleted(RenderFrameHost* render_frame_host) {
|
|
|