| 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 CONTENT_PUBLIC_BROWSER_ANDROID_JAVA_INTERFACES_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_JAVA_INTERFACES_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_ANDROID_JAVA_INTERFACES_H_ | 6 #define CONTENT_PUBLIC_BROWSER_ANDROID_JAVA_INTERFACES_H_ |
| 7 | 7 |
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 | 9 |
| 10 namespace shell { | 10 namespace service_manager { |
| 11 class InterfaceProvider; | 11 class InterfaceProvider; |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace content { | 14 namespace content { |
| 15 | 15 |
| 16 // Returns an InterfaceProvider for global Java-implemented interfaces. | 16 // Returns an InterfaceProvider for global Java-implemented interfaces. |
| 17 // This provides access to interfaces implemented in Java in the browser process | 17 // This provides access to interfaces implemented in Java in the browser process |
| 18 // to C++ code in the browser process. This and the returned InterfaceProvider | 18 // to C++ code in the browser process. This and the returned InterfaceProvider |
| 19 // may only be used on the UI thread. | 19 // may only be used on the UI thread. |
| 20 CONTENT_EXPORT shell::InterfaceProvider* GetGlobalJavaInterfaces(); | 20 CONTENT_EXPORT service_manager::InterfaceProvider* GetGlobalJavaInterfaces(); |
| 21 | 21 |
| 22 } // namespace content | 22 } // namespace content |
| 23 | 23 |
| 24 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_JAVA_INTERFACES_H_ | 24 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_JAVA_INTERFACES_H_ |
| OLD | NEW |