| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_APP_LIST_EXTENSION_UNINSTALLER_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_EXTENSION_UNINSTALLER_H_ |
| 6 #define CHROME_BROWSER_UI_APP_LIST_EXTENSION_UNINSTALLER_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_EXTENSION_UNINSTALLER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "chrome/browser/extensions/extension_uninstall_dialog.h" | 9 #include "chrome/browser/extensions/extension_uninstall_dialog.h" |
| 10 | 10 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 private: | 27 private: |
| 28 // Overridden from ExtensionUninstallDialog::Delegate: | 28 // Overridden from ExtensionUninstallDialog::Delegate: |
| 29 void OnExtensionUninstallDialogClosed(bool did_start_uninstall, | 29 void OnExtensionUninstallDialogClosed(bool did_start_uninstall, |
| 30 const base::string16& error) override; | 30 const base::string16& error) override; |
| 31 | 31 |
| 32 void CleanUp(); | 32 void CleanUp(); |
| 33 | 33 |
| 34 Profile* profile_; | 34 Profile* profile_; |
| 35 std::string app_id_; | 35 std::string app_id_; |
| 36 AppListControllerDelegate* controller_; | 36 AppListControllerDelegate* controller_; |
| 37 scoped_ptr<extensions::ExtensionUninstallDialog> dialog_; | 37 std::unique_ptr<extensions::ExtensionUninstallDialog> dialog_; |
| 38 | 38 |
| 39 DISALLOW_COPY_AND_ASSIGN(ExtensionUninstaller); | 39 DISALLOW_COPY_AND_ASSIGN(ExtensionUninstaller); |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 | 42 |
| 43 #endif // CHROME_BROWSER_UI_APP_LIST_EXTENSION_UNINSTALLER_H_ | 43 #endif // CHROME_BROWSER_UI_APP_LIST_EXTENSION_UNINSTALLER_H_ |
| OLD | NEW |