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

Unified Diff: components/arc/common/app.mojom

Issue 2228663003: arc: Add package app list updated event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: 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);

Powered by Google App Engine
This is Rietveld 408576698