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 90d4f0df388461e0cd4a1d15854e4095ae55fd5f..d0240302f46dbc943ac07df57e5d437f1ddcae78 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -39,6 +39,7 @@ |
#include "base/tracked_objects.h" |
#include "build/build_config.h" |
#include "cc/base/switches.h" |
+#include "components/installedapp/installed_app_provider_impl.h" |
#include "components/scheduler/common/scheduler_switches.h" |
#include "components/tracing/tracing_switches.h" |
#include "content/browser/appcache/appcache_dispatcher_host.h" |
@@ -1069,6 +1070,11 @@ void RenderProcessHostImpl::RegisterMojoServices() { |
base::Bind(&device::VibrationManagerImpl::Create)); |
#endif |
+#if !defined(OS_ANDROID) |
+ mojo_application_host_->service_registry()->AddService( |
+ base::Bind(&device::InstalledAppProviderImpl::Create)); |
+#endif |
+ |
mojo_application_host_->service_registry()->AddService( |
base::Bind(&PermissionServiceContext::CreateService, |
base::Unretained(permission_service_context_.get()))); |