| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_BROWSER_MOJO_INTERFACE_REGISTRAR_ANDROID_H_ | |
| 6 #define CONTENT_BROWSER_MOJO_INTERFACE_REGISTRAR_ANDROID_H_ | |
| 7 | |
| 8 #include <jni.h> | |
| 9 | |
| 10 namespace content { | |
| 11 | |
| 12 class InterfaceRegistryAndroid; | |
| 13 class RenderFrameHost; | |
| 14 | |
| 15 // Registrar for interfaces implemented in Java exposed by the browser. This | |
| 16 // calls into Java where the services are registered with the indicated | |
| 17 // registry. | |
| 18 class InterfaceRegistrarAndroid { | |
| 19 public: | |
| 20 static void ExposeInterfacesToRenderer(InterfaceRegistryAndroid* registry); | |
| 21 static void ExposeInterfacesToFrame(InterfaceRegistryAndroid* registry, | |
| 22 RenderFrameHost* frame); | |
| 23 }; | |
| 24 | |
| 25 } // namespace content | |
| 26 | |
| 27 #endif // CONTENT_BROWSER_MOJO_INTERFACE_REGISTRAR_ANDROID_H_ | |
| OLD | NEW |