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

Unified Diff: chrome/browser/ui/cocoa/handoff_active_url_observer_bridge.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/handoff_active_url_observer_bridge.h
diff --git a/chrome/browser/ui/cocoa/handoff_active_url_observer_bridge.h b/chrome/browser/ui/cocoa/handoff_active_url_observer_bridge.h
index 0d00961d4cc8473074a560f1a5ac89b08b8e24e5..6b038b3977c3d2f1f0486205584566eef7c02a2c 100644
--- a/chrome/browser/ui/cocoa/handoff_active_url_observer_bridge.h
+++ b/chrome/browser/ui/cocoa/handoff_active_url_observer_bridge.h
@@ -7,8 +7,9 @@
#import <Cocoa/Cocoa.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/cocoa/handoff_active_url_observer_delegate.h"
namespace content {
@@ -39,7 +40,7 @@ class HandoffActiveURLObserverBridge : public HandoffActiveURLObserverDelegate {
NSObject<HandoffActiveURLObserverBridgeDelegate>* delegate_;
// The C++ object that this class acts as a bridge for.
- scoped_ptr<HandoffActiveURLObserver> observer_;
+ std::unique_ptr<HandoffActiveURLObserver> observer_;
DISALLOW_COPY_AND_ASSIGN(HandoffActiveURLObserverBridge);
};
« no previous file with comments | « chrome/browser/ui/cocoa/global_error_bubble_controller.h ('k') | chrome/browser/ui/cocoa/history_menu_bridge_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698