aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Barkley-Yeung <iby@google.com>2018-09-07 15:45:12 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-09-18 14:03:48 -0700
commit9939aeafb5ca330c1c20c6aa3aa01c2af9870424 (patch)
treea99900d40df99ea08c8107d6945ad2a70df0cc1a
parentb03af0353854028bfae0ce978e8666e815f621b9 (diff)
downloadsystem_api-9939aeafb5ca330c1c20c6aa3aa01c2af9870424.tar.gz
Add package info for Crostini apps
Add package_id of owning package to the Cicerone -> Host proto ApplicationList BUG=chromium:822514 TEST=Apps from .desktop files associated with a package now have 'uninstall' on right-click menu; Apps from .desktop files I created do not have 'uninstall' Change-Id: Ibe148209763a4633a653107b2819a56146d5706f Reviewed-on: https://chromium-review.googlesource.com/1213615 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Ian Barkley-Yeung <iby@chromium.org> Reviewed-by: Jeffrey Kardatzke <jkardatzke@google.com> Reviewed-by: Stephen Barber <smbarber@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
-rw-r--r--dbus/vm_applications/apps.proto4
1 files changed, 4 insertions, 0 deletions
diff --git a/dbus/vm_applications/apps.proto b/dbus/vm_applications/apps.proto
index cf76bed..31054fc 100644
--- a/dbus/vm_applications/apps.proto
+++ b/dbus/vm_applications/apps.proto
@@ -30,6 +30,10 @@ message App {
bool no_display = 5;
string startup_wm_class = 6;
bool startup_notify = 7;
+
+ // If set, the package_id of the installed package that owns this .desktop
+ // file. If not set, the .desktop file is not owned by an installed package.
+ string package_id = 8;
}
message ApplicationList {