Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrar.java

Issue 2217013002: Remove the JNI-based InterfaceRegistry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@java-interface-registry-migration
Patch Set: rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrar.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrar.java b/content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrar.java
deleted file mode 100644
index 29fa870f401db0b29ae1dd5e1cec96030c52e23f..0000000000000000000000000000000000000000
--- a/content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrar.java
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package org.chromium.content.browser;
-
-import android.content.Context;
-
-import org.chromium.base.annotations.CalledByNative;
-import org.chromium.base.annotations.JNINamespace;
-import org.chromium.content_public.browser.WebContents;
-
-/**
- * Registers interfaces exposed by the browser in the given registry.
- */
-@JNINamespace("content")
-class InterfaceRegistrar {
- @CalledByNative
- static void exposeInterfacesToRenderer(InterfaceRegistry registry, Context applicationContext) {
- assert applicationContext != null;
- }
-
- @CalledByNative
- static void exposeInterfacesToFrame(InterfaceRegistry registry,
- Context applicationContext, WebContents contents) {
- assert applicationContext != null;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698