Index: third_party/WebKit/public/platform/modules/installedapp/installed_app_provider.mojom |
diff --git a/third_party/WebKit/public/platform/modules/installedapp/installed_app_provider.mojom b/third_party/WebKit/public/platform/modules/installedapp/installed_app_provider.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..98c7f62c7077b8f6e862ef451618d9b2e0c09948 |
--- /dev/null |
+++ b/third_party/WebKit/public/platform/modules/installedapp/installed_app_provider.mojom |
@@ -0,0 +1,15 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+module blink.mojom; |
+ |
+import "related_application.mojom"; |
+ |
+// Mojo service for the getInstalledRelatedApps implementation. |
+interface InstalledAppProvider { |
+ // Filters |related_apps|, keeping only those which are both installed on the |
+ // user's system, and related to the web origin of the requesting page. |
+ FilterInstalledApps(array<RelatedApplication> related_apps) |
+ => (array<RelatedApplication> installedApps); |
+}; |