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

Unified Diff: chrome/browser/ui/extensions/extension_installed_bubble.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/extensions/extension_installed_bubble.h
diff --git a/chrome/browser/ui/extensions/extension_installed_bubble.h b/chrome/browser/ui/extensions/extension_installed_bubble.h
index 57c3e40be943fc39db778c0b39ab582973099e54..5675833dad97049c722c74d98656061aebc33594 100644
--- a/chrome/browser/ui/extensions/extension_installed_bubble.h
+++ b/chrome/browser/ui/extensions/extension_installed_bubble.h
@@ -79,7 +79,7 @@ class ExtensionInstalledBubble : public BubbleDelegate {
AnchorPosition anchor_position() const { return anchor_position_; }
// BubbleDelegate:
- scoped_ptr<BubbleUi> BuildBubbleUi() override;
+ std::unique_ptr<BubbleUi> BuildBubbleUi() override;
bool ShouldClose(BubbleCloseReason reason) const override;
std::string GetName() const override;
const content::RenderFrameHost* OwningFrame() const override;
@@ -109,7 +109,7 @@ class ExtensionInstalledBubble : public BubbleDelegate {
AnchorPosition anchor_position_;
// The command to execute the extension action, if one exists.
- scoped_ptr<extensions::Command> action_command_;
+ std::unique_ptr<extensions::Command> action_command_;
DISALLOW_COPY_AND_ASSIGN(ExtensionInstalledBubble);
};

Powered by Google App Engine
This is Rietveld 408576698