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

Unified Diff: chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.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/apps/quit_with_apps_controller_mac.h
diff --git a/chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.h b/chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.h
index 9ac39821073e9384e5191acca26e7c4d7dfeb74b..9e80a265cfd431147fe547ca65f7649e2b476dd1 100644
--- a/chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.h
+++ b/chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_UI_COCOA_APPS_QUIT_WITH_APPS_CONTROLLER_MAC_H_
#define CHROME_BROWSER_UI_COCOA_APPS_QUIT_WITH_APPS_CONTROLLER_MAC_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/notifications/notification.h"
class PrefRegistrySimple;
@@ -37,7 +38,7 @@ class QuitWithAppsController : public NotificationDelegate {
private:
~QuitWithAppsController() override;
- scoped_ptr<Notification> notification_;
+ std::unique_ptr<Notification> notification_;
// The Profile instance associated with the notification_. We need to cache
// the instance here because when we want to cancel the notification we need
// to provide the profile which was used to add the notification previously.

Powered by Google App Engine
This is Rietveld 408576698