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

Unified Diff: chrome/browser/ui/app_list/arc/arc_app_utils.h

Issue 2529783002: arc: Implement uninstall confirmation dialog for Arc app. (Closed)
Patch Set: Clean up. Created 4 years, 1 month 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: chrome/browser/ui/app_list/arc/arc_app_utils.h
diff --git a/chrome/browser/ui/app_list/arc/arc_app_utils.h b/chrome/browser/ui/app_list/arc/arc_app_utils.h
index a42a3580f3836ff05acb2e871a9591a406dc758b..ca506436cec43b8b178c2f38e2eafb590978cf9f 100644
--- a/chrome/browser/ui/app_list/arc/arc_app_utils.h
+++ b/chrome/browser/ui/app_list/arc/arc_app_utils.h
@@ -11,6 +11,8 @@
#include "components/arc/common/app.mojom.h"
#include "ui/gfx/geometry/rect.h"
+class Profile;
+
namespace content {
class BrowserContext;
}
@@ -65,6 +67,9 @@ bool CanHandleResolution(content::BrowserContext* context,
// Uninstalls the package in ARC.
void UninstallPackage(const std::string& package_name);
+// Uninstalls Arc app or removes shortcut.
+void UninstallArcApp(const std::string& app_id, Profile* profile);
+
// Removes cached app shortcut icon in ARC.
void RemoveCachedIcon(const std::string& icon_resource_id);

Powered by Google App Engine
This is Rietveld 408576698