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

Unified Diff: chrome/browser/ui/views/session_crashed_bubble_view.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/views/session_crashed_bubble_view.h
diff --git a/chrome/browser/ui/views/session_crashed_bubble_view.h b/chrome/browser/ui/views/session_crashed_bubble_view.h
index 012dfd52cd13ced84638464ceec38ae0130772fc..eb99c190021868e59578f59ffbc58e80ef329750 100644
--- a/chrome/browser/ui/views/session_crashed_bubble_view.h
+++ b/chrome/browser/ui/views/session_crashed_bubble_view.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_UI_VIEWS_SESSION_CRASHED_BUBBLE_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_SESSION_CRASHED_BUBBLE_VIEW_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/session_crashed_bubble.h"
#include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
#include "content/public/browser/notification_observer.h"
@@ -44,8 +45,9 @@ class SessionCrashedBubbleView : public SessionCrashedBubble,
// Creates and shows the session crashed bubble, with |uma_opted_in_already|
// indicating whether the user has already opted-in to UMA. It will be called
// by Show. It takes ownership of |browser_observer|.
- static void ShowForReal(scoped_ptr<BrowserRemovalObserver> browser_observer,
- bool uma_opted_in_already);
+ static void ShowForReal(
+ std::unique_ptr<BrowserRemovalObserver> browser_observer,
+ bool uma_opted_in_already);
private:
SessionCrashedBubbleView(views::View* anchor_view,

Powered by Google App Engine
This is Rietveld 408576698