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

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: Address minor comments. Rebase. Created 4 years 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
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_dialog.h ('k') | chrome/browser/ui/app_list/arc/arc_app_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 389a05377fa115e6bb7ad7f80de2590a0eedd8c3..103f2086b55e69c6c3beded366ebf466bcba5a15 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;
}
@@ -70,6 +72,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);
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_dialog.h ('k') | chrome/browser/ui/app_list/arc/arc_app_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698