#ifndef CHROME_BROWSER_UI_APP_LIST_EXTENSION_UNINSTALLER_H_
#define CHROME_BROWSER_UI_APP_LIST_EXTENSION_UNINSTALLER_H_
#include "chrome/browser/extensions/extension_uninstall_dialog.h"
class AppListControllerDelegate;
class Profile;
class ExtensionUninstaller : public ExtensionUninstallDialog::Delegate {
public:
ExtensionUninstaller(Profile* profile,
const std::string& extension_id,
AppListControllerDelegate* controller);
virtual ~ExtensionUninstaller();
void Run();
private:
virtual void ExtensionUninstallAccepted() OVERRIDE;
virtual void ExtensionUninstallCanceled() OVERRIDE;
void CleanUp();
Profile* profile_;
std::string app_id_;
AppListControllerDelegate* controller_;
scoped_ptr<ExtensionUninstallDialog> dialog_;
DISALLOW_COPY_AND_ASSIGN(ExtensionUninstaller);
};
#endif