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 95f2f17426b3ae7f2944f022950a43783ccca547..1944d6aadd1544f957458eed48fcc7dd1b4297fa 100644 |
--- a/content/browser/gpu/gpu_process_host_ui_shim.h |
+++ b/content/browser/gpu/gpu_process_host_ui_shim.h |
@@ -31,6 +31,10 @@ namespace IPC { |
class Message; |
} |
+namespace service_manager { |
+class InterfaceRegistry; |
+} |
+ |
namespace content { |
void RouteToGpuProcessHostUIShimTask(int host_id, const IPC::Message& msg); |
@@ -57,6 +61,12 @@ class GpuProcessHostUIShim : public IPC::Listener, |
// actually received on the IO thread. |
bool OnMessageReceived(const IPC::Message& message) override; |
+#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; |