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

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

Issue 1756193008: Support uninstalling ARC app from Chrome launcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_test.cc ('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 2fbd1b7cd96a6d95624cbdeeae1eb75c03e0d745..3db659bd1cee4308d7e03ed251d9821a4a192627 100644
--- a/chrome/browser/ui/app_list/arc/arc_app_utils.h
+++ b/chrome/browser/ui/app_list/arc/arc_app_utils.h
@@ -15,6 +15,7 @@ class BrowserContext;
}
namespace arc {
+
using CanHandleResolutionCallback = base::Callback<void(bool)>;
// Launch an app and let the system decide how big and where to place it.
@@ -32,7 +33,10 @@ bool LaunchAppWithRect(content::BrowserContext* context,
bool CanHandleResolution(content::BrowserContext* context,
const std::string& app_id,
const gfx::Rect& rect,
- const CanHandleResolutionCallback callback);
+ const CanHandleResolutionCallback& callback);
+
+// Uninstalls the package in ARC.
+void UninstallPackage(const std::string& package_name);
} // namespace arc
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_test.cc ('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