| Index: content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java b/content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java
|
| index 8135734019f2206a14e9eada1a09b00fb1ed6738..9bd21e357c46593fe29d22426af3a1f624a6b977 100644
|
| --- a/content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java
|
| @@ -12,7 +12,6 @@ import org.chromium.content.browser.androidoverlay.AndroidOverlayProviderImpl;
|
| import org.chromium.content_public.browser.InterfaceRegistrar;
|
| import org.chromium.content_public.browser.RenderFrameHost;
|
| import org.chromium.content_public.browser.WebContents;
|
| -import org.chromium.device.nfc.mojom.Nfc;
|
| import org.chromium.media.mojom.AndroidOverlayProvider;
|
| import org.chromium.mojo.system.impl.CoreImpl;
|
| import org.chromium.services.service_manager.InterfaceRegistry;
|
| @@ -54,8 +53,6 @@ class InterfaceRegistrarImpl {
|
| if (sHasRegisteredRegistrars) return;
|
| sHasRegisteredRegistrars = true;
|
| InterfaceRegistrar.Registry.addContextRegistrar(new ContentContextInterfaceRegistrar());
|
| - InterfaceRegistrar.Registry.addWebContentsRegistrar(
|
| - new ContentWebContentsInterfaceRegistrar());
|
| }
|
|
|
| private static class ContentContextInterfaceRegistrar implements InterfaceRegistrar<Context> {
|
| @@ -67,14 +64,4 @@ class InterfaceRegistrarImpl {
|
| // TODO(avayvod): Register the PresentationService implementation here.
|
| }
|
| }
|
| -
|
| - private static class ContentWebContentsInterfaceRegistrar
|
| - implements InterfaceRegistrar<WebContents> {
|
| - @Override
|
| - public void registerInterfaces(InterfaceRegistry registry, final WebContents webContents) {
|
| - if (ContentFeatureList.isEnabled(ContentFeatureList.WEB_NFC)) {
|
| - registry.addInterface(Nfc.MANAGER, new NfcFactory(webContents));
|
| - }
|
| - }
|
| - }
|
| }
|
|
|