Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(393)

Side by Side Diff: chrome/browser/ui/app_list/extension_uninstaller.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc ('k') | chrome/browser/ui/app_list/fast_show_pickler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698