Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 528148a032ee5109502e4ad58487fa4e8fd40dfc..92831557d008176ca7762fb489b2c3cf540e379b 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -202,6 +202,7 @@ |
#include "services/service_manager/public/cpp/interface_registry.h" |
#include "services/service_manager/public/cpp/service.h" |
#include "storage/browser/fileapi/external_mount_points.h" |
+#include "third_party/WebKit/public/platform/modules/installedapp/installed_app_provider.mojom.h" |
#include "third_party/WebKit/public/platform/modules/webshare/webshare.mojom.h" |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/resource/resource_bundle.h" |
@@ -3178,6 +3179,9 @@ void ChromeContentBrowserClient::RegisterRenderFrameMojoInterfaces( |
registry->AddInterface( |
render_frame_host->GetJavaInterfaces() |
->CreateInterfaceFactory<payments::mojom::PaymentRequest>()); |
+ registry->AddInterface( |
+ render_frame_host->GetJavaInterfaces() |
+ ->CreateInterfaceFactory<blink::mojom::InstalledAppProvider>()); |
content::WebContents* web_contents = |
content::WebContents::FromRenderFrameHost(render_frame_host); |
if (web_contents) { |