Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Unified Diff: third_party/WebKit/public/platform/modules/installedapp/installed_app_provider.mojom

Issue 2671683002: getInstalledRelatedApps: Add browser-side Mojo service (stub). (Closed)
Patch Set: Added TODO. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
+};

Powered by Google App Engine
This is Rietveld 408576698