Index: content/browser/frame_host/render_frame_host_impl.cc |
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc |
index f74e19a27a75a49ba84ac89963f48479fae5a23b..106caf61f10aa1ec3641e163efe77cb696cd55df 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -35,6 +35,7 @@ |
#include "content/browser/frame_host/render_frame_host_delegate.h" |
#include "content/browser/frame_host/render_frame_proxy_host.h" |
#include "content/browser/frame_host/render_widget_host_view_child_frame.h" |
+#include "content/browser/installedapp/installed_app_provider_impl_default.h" |
#include "content/browser/loader/resource_dispatcher_host_impl.h" |
#include "content/browser/media/media_interface_proxy.h" |
#include "content/browser/media/session/media_session_service_impl.h" |
@@ -2279,6 +2280,13 @@ void RenderFrameHostImpl::OnShowCreatedWindow(int pending_widget_routing_id, |
void RenderFrameHostImpl::RegisterMojoInterfaces() { |
device::GeolocationServiceContext* geolocation_service_context = |
delegate_ ? delegate_->GetGeolocationServiceContext() : NULL; |
+ |
+ // The default (no-op) implementation of InstalledAppProvider. |
+ // TODO(mgiuca): Implement the "real" one for Android in Java, and do not add |
+ // the default one on that platform. |
+ GetInterfaceRegistry()->AddInterface( |
+ base::Bind(&InstalledAppProviderImplDefault::Create)); |
+ |
if (geolocation_service_context) { |
// TODO(creis): Bind process ID here so that GeolocationServiceImpl |
// can perform permissions checks once site isolation is complete. |