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

Unified Diff: chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.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/toolbar/toolbar_actions_bar_delegate.h
diff --git a/chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.h b/chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.h
index 4c31025c88d2fa4ade15dfba85fb6577fefc214d..a226d147a226130860b37a87121fb422c37fa99e 100644
--- a/chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.h
+++ b/chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.h
@@ -7,7 +7,8 @@
#include <stddef.h>
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "ui/gfx/animation/tween.h"
#include "ui/gfx/geometry/size.h"
@@ -69,12 +70,12 @@ class ToolbarActionsBarDelegate {
// anchored to |anchor_action|. If |anchor_action| is null, it should be
// anchored to the hotdog menu.
virtual void ShowExtensionMessageBubble(
- scoped_ptr<extensions::ExtensionMessageBubbleController> controller,
+ std::unique_ptr<extensions::ExtensionMessageBubbleController> controller,
ToolbarActionViewController* anchor_action) = 0;
// Shows the given |bubble| if no other bubbles are showing.
virtual void ShowToolbarActionBubble(
- scoped_ptr<ToolbarActionsBarBubbleDelegate> bubble) = 0;
+ std::unique_ptr<ToolbarActionsBarBubbleDelegate> bubble) = 0;
};
#endif // CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_BAR_DELEGATE_H_
« no previous file with comments | « chrome/browser/ui/toolbar/toolbar_actions_bar.cc ('k') | chrome/browser/ui/toolbar/toolbar_actions_bar_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698