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

Side by Side Diff: chrome/browser/extensions/extension_message_bubble_controller.h

Issue 1871713002: Convert //chrome/browser/extensions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix header 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_CONTROLLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_CONTROLLER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_CONTROLLER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // A weak pointer to the Browser we are associated with. Not owned by us. 176 // A weak pointer to the Browser we are associated with. Not owned by us.
177 Browser* browser_; 177 Browser* browser_;
178 178
179 // The list of extensions found. 179 // The list of extensions found.
180 ExtensionIdList extension_list_; 180 ExtensionIdList extension_list_;
181 181
182 // The action the user took in the bubble. 182 // The action the user took in the bubble.
183 BubbleAction user_action_; 183 BubbleAction user_action_;
184 184
185 // Our delegate supplying information about what to show in the dialog. 185 // Our delegate supplying information about what to show in the dialog.
186 scoped_ptr<Delegate> delegate_; 186 std::unique_ptr<Delegate> delegate_;
187 187
188 // Whether this class has initialized. 188 // Whether this class has initialized.
189 bool initialized_; 189 bool initialized_;
190 190
191 // Whether or not the bubble is highlighting extensions. 191 // Whether or not the bubble is highlighting extensions.
192 bool did_highlight_; 192 bool did_highlight_;
193 193
194 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageBubbleController); 194 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageBubbleController);
195 }; 195 };
196 196
197 } // namespace extensions 197 } // namespace extensions
198 198
199 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_CONTROLLER_H_ 199 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698