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

Unified Diff: chrome/browser/ui/views/confirm_bubble_views.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
« no previous file with comments | « chrome/browser/ui/views/collected_cookies_views.h ('k') | chrome/browser/ui/views/confirm_bubble_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/confirm_bubble_views.h
diff --git a/chrome/browser/ui/views/confirm_bubble_views.h b/chrome/browser/ui/views/confirm_bubble_views.h
index 1cb79fc7f9612c408eb81929ebdade3147dab420..adaa9a5df33c5133b0de42870d3b3cb97a36ccae 100644
--- a/chrome/browser/ui/views/confirm_bubble_views.h
+++ b/chrome/browser/ui/views/confirm_bubble_views.h
@@ -5,9 +5,10 @@
#ifndef CHROME_BROWSER_UI_VIEWS_CONFIRM_BUBBLE_VIEWS_H_
#define CHROME_BROWSER_UI_VIEWS_CONFIRM_BUBBLE_VIEWS_H_
+#include <memory>
+
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/views/controls/link_listener.h"
#include "ui/views/window/dialog_delegate.h"
@@ -25,7 +26,7 @@ class ConfirmBubbleModel;
class ConfirmBubbleViews : public views::DialogDelegateView,
public views::LinkListener {
public:
- explicit ConfirmBubbleViews(scoped_ptr<ConfirmBubbleModel> model);
+ explicit ConfirmBubbleViews(std::unique_ptr<ConfirmBubbleModel> model);
protected:
~ConfirmBubbleViews() override;
@@ -46,7 +47,7 @@ class ConfirmBubbleViews : public views::DialogDelegateView,
private:
// The model to customize this bubble view.
- scoped_ptr<ConfirmBubbleModel> model_;
+ std::unique_ptr<ConfirmBubbleModel> model_;
views::Link* link_;
« no previous file with comments | « chrome/browser/ui/views/collected_cookies_views.h ('k') | chrome/browser/ui/views/confirm_bubble_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698