OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 [JavaPackage="org.chromium.installedapp.mojom"] |
5 module blink.mojom; | 6 module blink.mojom; |
6 | 7 |
7 import "related_application.mojom"; | 8 import "related_application.mojom"; |
8 | 9 |
9 // Mojo service for the getInstalledRelatedApps implementation. | 10 // Mojo service for the getInstalledRelatedApps implementation. |
10 interface InstalledAppProvider { | 11 interface InstalledAppProvider { |
11 // Filters |related_apps|, keeping only those which are both installed on the | 12 // Filters |related_apps|, keeping only those which are both installed on the |
12 // user's system, and related to the web origin of the requesting page. | 13 // user's system, and related to the web origin of the requesting page. |
13 FilterInstalledApps(array<RelatedApplication> related_apps) | 14 FilterInstalledApps(array<RelatedApplication> related_apps) |
14 => (array<RelatedApplication> installedApps); | 15 => (array<RelatedApplication> installedApps); |
15 }; | 16 }; |
OLD | NEW |