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

Unified Diff: content/browser/mojo/interface_registrar_android.h

Issue 2191033002: Split ServiceRegistryAndroid into InterfaceRegistryAndroid and InterfaceProviderAndroid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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/browser/mojo/interface_registrar_android.h
diff --git a/content/browser/mojo/interface_registrar_android.h b/content/browser/mojo/interface_registrar_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..0b3427bedba297e51b91dd7a38166faa91ec0cd5
--- /dev/null
+++ b/content/browser/mojo/interface_registrar_android.h
@@ -0,0 +1,26 @@
+// 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.
+
+#ifndef CONTENT_BROWSER_MOJO_INTERFACE_REGISTRAR_ANDROID_H_
+#define CONTENT_BROWSER_MOJO_INTERFACE_REGISTRAR_ANDROID_H_
+
+#include <jni.h>
+
+namespace content {
+
+class InterfaceRegistryAndroid;
+
+// Registrar for interfaces implemented in Java exposed by the browser. This
+// calls into Java where the services are registered with the indicated
+// registry.
+class InterfaceRegistrarAndroid {
+ public:
+ static bool Register(JNIEnv* env);
+ static void ExposeInterfacesToRenderer(InterfaceRegistryAndroid* registry);
+ static void ExposeInterfacesToFrame(InterfaceRegistryAndroid* registry);
+};
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_MOJO_INTERFACE_REGISTRAR_ANDROID_H_
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/mojo/interface_registrar_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698