Chromium Code Reviews| 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..c80350046886840f2c04b08ca467ed38aa1a1082 |
| --- /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 |relatedApps|, keeping only those which are both installed on the |
|
dcheng
2017/03/02 07:41:51
hacker_style_naming is the convention in most mojo
Matt Giuca
2017/03/10 03:35:47
Done.
|
| + // user's system, and related to the web origin |origin|. |
| + FilterInstalledApps(array<RelatedApplication> relatedApps, string origin) |
| + => (array<RelatedApplication> installedApps); |
| +}; |