| 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 10187d104037ca97078b9e33ddeca6b6f2b2886f..723313685ab3cd1fa4c832e084263f628b37b3fb 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -118,6 +118,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"
|
| @@ -4084,6 +4085,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::NFC>());
|
| +#endif
|
| }
|
|
|
| void WebContentsImpl::RenderFrameDeleted(RenderFrameHost* render_frame_host) {
|
|
|