| Index: chrome/browser/ui/app_list/arc/arc_app_dialog.h
|
| diff --git a/chrome/browser/ui/app_list/arc/arc_app_dialog.h b/chrome/browser/ui/app_list/arc/arc_app_dialog.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e6e547638b45525050972f81274c6c44153ba958
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/app_list/arc/arc_app_dialog.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_DIALOG_H_
|
| +#define CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_DIALOG_H_
|
| +
|
| +#include <string>
|
| +
|
| +#include "base/callback.h"
|
| +
|
| +class AppListControllerDelegate;
|
| +class Profile;
|
| +
|
| +namespace arc {
|
| +
|
| +// Shows a dialog for user to confirm uninstallation of Arc app.
|
| +// Currently, Arc app can only be manually uninstalled from AppList. But it
|
| +// would be simple to enable the dialog to shown from other source.
|
| +void ShowArcAppUninstallDialog(Profile* profile,
|
| + AppListControllerDelegate* controller,
|
| + const std::string& app_id);
|
| +
|
| +// Test purpose methods.
|
| +bool IsArcAppDialogViewAliveForTest();
|
| +
|
| +bool CloseAppDialogViewAndConfirmForTest(bool confirm);
|
| +
|
| +} // namespace arc
|
| +
|
| +#endif // CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_DIALOG_H_
|
|
|