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

Unified Diff: chrome/browser/ui/native_window_tracker.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/login/login_handler.cc ('k') | chrome/browser/ui/native_window_tracker_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/native_window_tracker.h
diff --git a/chrome/browser/ui/native_window_tracker.h b/chrome/browser/ui/native_window_tracker.h
index c08dc126546b766861acc8cecc5d0097a5f93d28..9705e285c8271b65c508c0d5da434c3cb31c4bf7 100644
--- a/chrome/browser/ui/native_window_tracker.h
+++ b/chrome/browser/ui/native_window_tracker.h
@@ -5,7 +5,8 @@
#ifndef CHROME_BROWSER_UI_NATIVE_WINDOW_TRACKER_H_
#define CHROME_BROWSER_UI_NATIVE_WINDOW_TRACKER_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "ui/gfx/native_widget_types.h"
// An observer which detects when a gfx::NativeWindow is closed.
@@ -13,7 +14,7 @@ class NativeWindowTracker {
public:
virtual ~NativeWindowTracker() {}
- static scoped_ptr<NativeWindowTracker> Create(gfx::NativeWindow window);
+ static std::unique_ptr<NativeWindowTracker> Create(gfx::NativeWindow window);
// Returns true if the native window passed to Create() has been closed.
virtual bool WasNativeWindowClosed() const = 0;
« no previous file with comments | « chrome/browser/ui/login/login_handler.cc ('k') | chrome/browser/ui/native_window_tracker_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698