Chromium Code Reviews| Index: content/browser/mojo/service_registrar_android.h |
| diff --git a/content/browser/mojo/service_registrar_android.h b/content/browser/mojo/service_registrar_android.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..721f937a6bf6c06133de76e658d8b76275877abb |
| --- /dev/null |
| +++ b/content/browser/mojo/service_registrar_android.h |
| @@ -0,0 +1,24 @@ |
| +// 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_SERVICE_REGISTRAR_ANDROID_H_ |
| +#define CONTENT_BROWSER_MOJO_SERVICE_REGISTRAR_ANDROID_H_ |
| + |
| +#include <jni.h> |
| + |
| +namespace content { |
| + |
| +class ServiceRegistryAndroid; |
| + |
| +// Registrar for mojo services in Java exposed by the browser. This calls into |
| +// Java where the services are registered with the indicated registry. |
| +class ServiceRegistrarAndroid { |
|
jochen (gone - plz use gerrit)
2016/08/03 15:24:37
please make this a namespace: https://google.githu
no sievers
2016/08/03 18:23:02
oops, this is actually a bad rebase. this file was
|
| + public: |
| + static void RegisterProcessHostServices(ServiceRegistryAndroid* registry); |
| + static void RegisterFrameHostServices(ServiceRegistryAndroid* registry); |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_BROWSER_MOJO_SERVICE_REGISTRAR_ANDROID_H_ |