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

Unified Diff: chrome/browser/ui/cocoa/profiles/avatar_base_controller.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/profiles/avatar_base_controller.h
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.h b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.h
index 55684bae3fbbc038279967cb551cba721e637188..115cb2f43c869c64fd9f8bdeaec86d958743db18 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.h
+++ b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.h
@@ -7,8 +7,9 @@
#import <AppKit/AppKit.h>
+#include <memory>
+
#import "base/mac/scoped_nsobject.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/browser_window.h"
#import "chrome/browser/ui/cocoa/has_weak_browser_pointer.h"
#include "components/signin/core/browser/signin_header_helper.h"
@@ -32,7 +33,7 @@ class ProfileAttributesUpdateObserver;
BaseBubbleController* menuController_;
// Observer that listens for updates to the ProfileAttributesStorage.
- scoped_ptr<ProfileAttributesUpdateObserver> profileAttributesObserver_;
+ std::unique_ptr<ProfileAttributesUpdateObserver> profileAttributesObserver_;
}
// The avatar button view.

Powered by Google App Engine
This is Rietveld 408576698