| 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 bd9ba934fcd8f61dce07b8f925aedac90717ba3b..1f1cabea5b33e6c071319343f7b5087332c7105c 100644
|
| --- a/chrome/browser/ui/app_list/arc/arc_app_utils.h
|
| +++ b/chrome/browser/ui/app_list/arc/arc_app_utils.h
|
| @@ -14,8 +14,13 @@ namespace content {
|
| class BrowserContext;
|
| }
|
|
|
| +namespace mojo {
|
| +class String;
|
| +}
|
| +
|
| namespace arc {
|
| using CanHandleResolutionCallback = base::Callback<void(bool)>;
|
| +using UninstallAppCallback = base::Callback<void(const mojo::String&)>;
|
| }
|
|
|
| namespace arc {
|
| @@ -29,7 +34,12 @@ bool LaunchApp(content::BrowserContext* context, const std::string& app_id);
|
| 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.
|
| +bool UninstallApp(const std::string& package_name,
|
| + const UninstallAppCallback& callback);
|
| +void OnUninstallAppResponse(const mojo::String& error_message);
|
|
|
| } // namespace arc
|
|
|
|
|