Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 1d3166360f3210e660dcdca99c70929e4c87ec50..952349268cdec675def6ffb3e6240d3472582acc 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -156,6 +156,7 @@ |
#if defined(OS_ANDROID) |
#include "content/browser/android/child_process_launcher_android.h" |
#include "content/browser/media/android/browser_demuxer_android.h" |
+#include "content/browser/mojo/service_registrar_android.h" |
#include "content/browser/screen_orientation/screen_orientation_message_filter_android.h" |
#endif |
@@ -896,6 +897,11 @@ void RenderProcessHostImpl::RegisterMojoServices() { |
base::Bind(&PermissionServiceContext::CreateService, |
base::Unretained(permission_service_context_.get()))); |
+#if defined(OS_ANDROID) |
+ ServiceRegistrarAndroid::RegisterProcessHostServices( |
+ mojo_application_host_->service_registry_android()); |
+#endif |
+ |
GetContentClient()->browser()->OverrideRenderProcessMojoServices( |
mojo_application_host_->service_registry()); |
} |