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

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

Issue 1756193008: Support uninstalling ARC app from Chrome launcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 b18adbe138643af0212a8b4001fb0c4ebfa7b15f..add3907f68980c4123a7561c45ad52f77410de1c 100644
--- a/components/arc/common/app.mojom
+++ b/components/arc/common/app.mojom
@@ -25,6 +25,7 @@ struct AppInfo {
string name;
string package_name;
string activity;
+ [MinVersion=2] bool sticky; // true if the app cannot be uninstalled
};
// Represents a rectangle to specify screen coordinates.
@@ -85,4 +86,8 @@ interface AppInstance {
// if it can.
[MinVersion=1] CanHandleResolution(string package_name, string activity,
ScreenRect dimension) => (bool success);
+
+ // Sends a request to ARC to uninstall the given app. Error message (UTF-8
+ // string), or null if succeeds, is returned via the callback.
+ [MinVersion=2] UninstallApp(string package) => (string error_message);
};

Powered by Google App Engine
This is Rietveld 408576698