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

Side by Side Diff: chrome/browser/ui/views/uninstall_view.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_VIEWS_UNINSTALL_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_UNINSTALL_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_UNINSTALL_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_UNINSTALL_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 private: 50 private:
51 typedef std::map<base::string16, base::string16> BrowsersMap; 51 typedef std::map<base::string16, base::string16> BrowsersMap;
52 52
53 // Initializes the controls on the dialog. 53 // Initializes the controls on the dialog.
54 void SetupControls(); 54 void SetupControls();
55 55
56 views::Label* confirm_label_; 56 views::Label* confirm_label_;
57 views::Checkbox* delete_profile_; 57 views::Checkbox* delete_profile_;
58 views::Checkbox* change_default_browser_; 58 views::Checkbox* change_default_browser_;
59 views::Combobox* browsers_combo_; 59 views::Combobox* browsers_combo_;
60 scoped_ptr<BrowsersMap> browsers_; 60 std::unique_ptr<BrowsersMap> browsers_;
61 int& user_selection_; 61 int& user_selection_;
62 base::Closure quit_closure_; 62 base::Closure quit_closure_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(UninstallView); 64 DISALLOW_COPY_AND_ASSIGN(UninstallView);
65 }; 65 };
66 66
67 #endif // CHROME_BROWSER_UI_VIEWS_UNINSTALL_VIEW_H_ 67 #endif // CHROME_BROWSER_UI_VIEWS_UNINSTALL_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698