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

Unified Diff: chrome/browser/android/mojo/chrome_interface_registrar_android.h

Issue 2374213002: Revert of Move registration of Java mojo interfaces to the new InterfaceRegistrar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@java-content-interface-registry
Patch Set: 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
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/android/mojo/chrome_interface_registrar_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/mojo/chrome_interface_registrar_android.h
diff --git a/chrome/browser/android/mojo/chrome_interface_registrar_android.h b/chrome/browser/android/mojo/chrome_interface_registrar_android.h
index 512be90bb3c98cbc2d14de9f386c9403954a25ee..88c20ecd5aa22ab52b65ce0387aeb9de45b684da 100644
--- a/chrome/browser/android/mojo/chrome_interface_registrar_android.h
+++ b/chrome/browser/android/mojo/chrome_interface_registrar_android.h
@@ -5,6 +5,25 @@
#ifndef CHROME_BROWSER_ANDROID_MOJO_CHROME_INTERFACE_REGISTRAR_ANDROID_H_
#define CHROME_BROWSER_ANDROID_MOJO_CHROME_INTERFACE_REGISTRAR_ANDROID_H_
-void RegisterChromeJavaMojoInterfaces();
+#include <jni.h>
+
+namespace content {
+class RenderFrameHost;
+}
+
+namespace shell {
+class InterfaceRegistry;
+}
+
+class ChromeInterfaceRegistrarAndroid {
+ public:
+ static void ExposeInterfacesToFrame(
+ shell::InterfaceRegistry* registry,
+ content::RenderFrameHost* render_frame_host);
+
+ private:
+ ChromeInterfaceRegistrarAndroid() {}
+ ~ChromeInterfaceRegistrarAndroid() {}
+};
#endif // CHROME_BROWSER_ANDROID_MOJO_CHROME_INTERFACE_REGISTRAR_ANDROID_H_
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/android/mojo/chrome_interface_registrar_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698