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

Unified Diff: chrome/browser/ui/cocoa/extensions/extension_message_bubble_bridge.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/cocoa/extensions/extension_message_bubble_bridge.h
diff --git a/chrome/browser/ui/cocoa/extensions/extension_message_bubble_bridge.h b/chrome/browser/ui/cocoa/extensions/extension_message_bubble_bridge.h
index ab925a45f892c54d7a7023891c168f8180832d16..638aa6676212f8a391c4216ad289fb0fafb6a3ff 100644
--- a/chrome/browser/ui/cocoa/extensions/extension_message_bubble_bridge.h
+++ b/chrome/browser/ui/cocoa/extensions/extension_message_bubble_bridge.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BRIDGE_H_
#define CHROME_BROWSER_UI_COCOA_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_BRIDGE_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/toolbar/toolbar_actions_bar_bubble_delegate.h"
@class ToolbarActionsBarBubbleMac;
@@ -20,7 +21,7 @@ class ExtensionMessageBubbleController;
class ExtensionMessageBubbleBridge : public ToolbarActionsBarBubbleDelegate {
public:
ExtensionMessageBubbleBridge(
- scoped_ptr<extensions::ExtensionMessageBubbleController> controller,
+ std::unique_ptr<extensions::ExtensionMessageBubbleController> controller,
bool anchored_to_extension);
~ExtensionMessageBubbleBridge() override;
@@ -36,7 +37,7 @@ class ExtensionMessageBubbleBridge : public ToolbarActionsBarBubbleDelegate {
void OnBubbleShown() override;
void OnBubbleClosed(CloseAction action) override;
- scoped_ptr<extensions::ExtensionMessageBubbleController> controller_;
+ std::unique_ptr<extensions::ExtensionMessageBubbleController> controller_;
// True if the bubble is anchored to an extension action.
bool anchored_to_extension_;

Powered by Google App Engine
This is Rietveld 408576698