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 149a40ca3b8bd54c63e5646e09e4c6aad7d38f75..029c50e33fbe6153c3d8a3129cc991e5d743fcad 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -129,6 +129,7 @@ |
#include "content/common/frame_messages.h" |
#include "content/common/gpu_host_messages.h" |
#include "content/common/in_process_child_thread_params.h" |
+#include "content/common/installedapp/installed_app_provider_impl.h" |
#include "content/common/render_process_messages.h" |
#include "content/common/resource_messages.h" |
#include "content/common/service_manager/child_connection.h" |
@@ -1223,6 +1224,11 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
void RenderProcessHostImpl::RegisterMojoInterfaces() { |
std::unique_ptr<service_manager::InterfaceRegistry> registry( |
new service_manager::InterfaceRegistry); |
+#if defined(OS_ANDROID) |
+// TODO(benwells):: Check this, probably won't work. |
+ mojo_application_host_->service_registry()->AddService( |
+ base::Bind(&InstalledAppProviderImpl::Create)); |
+#endif |
channel_->AddAssociatedInterface( |
base::Bind(&RenderProcessHostImpl::OnRouteProviderRequest, |