| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_ANDROID_MOJO_CHROME_INTERFACE_REGISTRAR_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_MOJO_CHROME_INTERFACE_REGISTRAR_ANDROID_H_ |
| 6 #define CHROME_BROWSER_ANDROID_MOJO_CHROME_INTERFACE_REGISTRAR_ANDROID_H_ | 6 #define CHROME_BROWSER_ANDROID_MOJO_CHROME_INTERFACE_REGISTRAR_ANDROID_H_ |
| 7 | 7 |
| 8 void RegisterChromeJavaMojoInterfaces(); | 8 #include <jni.h> |
| 9 |
| 10 namespace content { |
| 11 class RenderFrameHost; |
| 12 } |
| 13 |
| 14 namespace shell { |
| 15 class InterfaceRegistry; |
| 16 } |
| 17 |
| 18 class ChromeInterfaceRegistrarAndroid { |
| 19 public: |
| 20 static void ExposeInterfacesToFrame( |
| 21 shell::InterfaceRegistry* registry, |
| 22 content::RenderFrameHost* render_frame_host); |
| 23 |
| 24 private: |
| 25 ChromeInterfaceRegistrarAndroid() {} |
| 26 ~ChromeInterfaceRegistrarAndroid() {} |
| 27 }; |
| 9 | 28 |
| 10 #endif // CHROME_BROWSER_ANDROID_MOJO_CHROME_INTERFACE_REGISTRAR_ANDROID_H_ | 29 #endif // CHROME_BROWSER_ANDROID_MOJO_CHROME_INTERFACE_REGISTRAR_ANDROID_H_ |
| OLD | NEW |