| 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"] | |
| 6 module blink.mojom; | 5 module blink.mojom; |
| 7 | 6 |
| 8 import "related_application.mojom"; | 7 import "related_application.mojom"; |
| 9 | 8 |
| 10 // Mojo service for the getInstalledRelatedApps implementation. | 9 // Mojo service for the getInstalledRelatedApps implementation. |
| 11 interface InstalledAppProvider { | 10 interface InstalledAppProvider { |
| 12 // Filters |related_apps|, keeping only those which are both installed on the | 11 // Filters |related_apps|, keeping only those which are both installed on the |
| 13 // user's system, and related to the web origin of the requesting page. | 12 // user's system, and related to the web origin of the requesting page. |
| 14 FilterInstalledApps(array<RelatedApplication> related_apps) | 13 FilterInstalledApps(array<RelatedApplication> related_apps) |
| 15 => (array<RelatedApplication> installedApps); | 14 => (array<RelatedApplication> installedApps); |
| 16 }; | 15 }; |
| OLD | NEW |