Index: content/browser/gpu/gpu_process_host_ui_shim.h |
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.h b/content/browser/gpu/gpu_process_host_ui_shim.h |
index 7ac670434f304c1dbeba9e02dc11d536142150ad..4f35ec62724351fbb71fb136bdf0ff9852eda181 100644 |
--- a/content/browser/gpu/gpu_process_host_ui_shim.h |
+++ b/content/browser/gpu/gpu_process_host_ui_shim.h |
@@ -35,6 +35,10 @@ namespace gpu { |
struct VideoMemoryUsageStats; |
} |
+namespace service_manager { |
+class InterfaceRegistry; |
+} |
+ |
namespace content { |
void RouteToGpuProcessHostUIShimTask(int host_id, const IPC::Message& msg); |
@@ -79,6 +83,12 @@ class GpuProcessHostUIShim : public IPC::Listener, |
CONTENT_EXPORT void SimulateJavaCrash(); |
#endif |
+#if defined(OS_ANDROID) |
+ // Register Mojo interfaces that must be bound on the UI thread. |
+ static void RegisterUIThreadMojoInterfaces( |
+ service_manager::InterfaceRegistry* registry); |
+#endif |
+ |
private: |
explicit GpuProcessHostUIShim(int host_id); |
~GpuProcessHostUIShim() override; |