Chromium Code Reviews| Index: components/arc/common/app.mojom |
| diff --git a/components/arc/common/app.mojom b/components/arc/common/app.mojom |
| index 1110e41be5e13f19a61d2622d38834cb6105214f..17fa4a2706498db4bb07370753d5f28829c12207 100644 |
| --- a/components/arc/common/app.mojom |
| +++ b/components/arc/common/app.mojom |
| @@ -2,7 +2,7 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| // |
| -// Next MinVersion: 13 |
| +// Next MinVersion: 14 |
| module arc.mojom; |
| @@ -56,11 +56,11 @@ enum ShowPackageInfoPage { |
| MANAGE_LINKS = 1, |
| }; |
| -// Next method ID: 13 |
| +// Next method ID: 14 |
| interface AppHost { |
| // Sends newly added ARC app to Chrome. This message is sent when ARC receives |
| // package added notification. Multiple apps may be added in the one package. |
| - [MinVersion=1] OnAppAdded@2(AppInfo app); |
| + [MinVersion=1] OnAppAddedDeprecated@2(AppInfo app); |
| // Receives an icon of required |scale_factor| for specific ARC app. The app |
| // is defined by |package_name| and |activity|. The icon content cannot be |
| @@ -77,6 +77,10 @@ interface AppHost { |
| // Notifies that a package has been added. |
| [MinVersion=8] OnPackageAdded@8(ArcPackageInfo arcPackageInfo); |
| + // Notifies that a package list of apps has been updated. |
| + [MinVersion=13] OnPackageAppListRefreshed@13(string package_name, |
| + array<AppInfo> apps); |
|
xiyuan
2016/08/09 16:51:14
So we are tracking apps from a package in ARC side
khmel
2016/08/09 17:46:39
Yes, we are sending this event from ARC side. Rela
|
| + |
| // Receives a list of available ARC packages to Chrome. Members of |
| // PackageInfo must contain non-empty string. |
| [MinVersion=8] OnPackageListRefreshed@9(array<ArcPackageInfo> packages); |