Index: chrome/browser/android/mojo/chrome_service_registrar_android.h |
diff --git a/chrome/browser/android/mojo/chrome_service_registrar_android.h b/chrome/browser/android/mojo/chrome_service_registrar_android.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e7b5feb680d925fac50a714479001f5244149cb0 |
--- /dev/null |
+++ b/chrome/browser/android/mojo/chrome_service_registrar_android.h |
@@ -0,0 +1,25 @@ |
+// Copyright 2016 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 CHROME_BROWSER_ANDROID_MOJO_CHROME_SERVICE_REGISTRAR_ANDROID_H_ |
+#define CHROME_BROWSER_ANDROID_MOJO_CHROME_SERVICE_REGISTRAR_ANDROID_H_ |
+ |
+#include <jni.h> |
+ |
+namespace content { |
+class ServiceRegistry; |
+} |
+ |
+class ChromeServiceRegistrarAndroid { |
+ public: |
+ static bool Register(JNIEnv* env); |
+ static void RegisterRenderFrameMojoServices( |
+ content::ServiceRegistry* registry); |
+ |
+ private: |
+ ChromeServiceRegistrarAndroid() {} |
+ ~ChromeServiceRegistrarAndroid() {} |
+}; |
+ |
+#endif // CHROME_BROWSER_ANDROID_MOJO_CHROME_SERVICE_REGISTRAR_ANDROID_H_ |