| 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..38cabf948c1f2f508a2d02af58b8da8d8ad9b1e1 100644
|
| --- a/chrome/browser/ui/app_list/arc/arc_app_utils.h
|
| +++ b/chrome/browser/ui/app_list/arc/arc_app_utils.h
|
| @@ -14,12 +14,15 @@ namespace content {
|
| class BrowserContext;
|
| }
|
|
|
| -namespace arc {
|
| -using CanHandleResolutionCallback = base::Callback<void(bool)>;
|
| +namespace mojo {
|
| +class String;
|
| }
|
|
|
| namespace arc {
|
|
|
| +using CanHandleResolutionCallback = base::Callback<void(bool)>;
|
| +using UninstallAppCallback = base::Callback<void(const mojo::String&)>;
|
| +
|
| bool LaunchApp(content::BrowserContext* context, const std::string& app_id);
|
|
|
| // Tests if the application can use the given target resolution.
|
| @@ -29,7 +32,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
|
|
|
|
|