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

Unified Diff: chrome/browser/ui/views/chrome_constrained_window_views_client.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/chrome_constrained_window_views_client.h
diff --git a/chrome/browser/ui/views/chrome_constrained_window_views_client.h b/chrome/browser/ui/views/chrome_constrained_window_views_client.h
index dde43095170450365b0134bd0ecfdb5ea0768e31..62b03b9d248c07da3cbd04e97c6fcdf8beca0b28 100644
--- a/chrome/browser/ui/views/chrome_constrained_window_views_client.h
+++ b/chrome/browser/ui/views/chrome_constrained_window_views_client.h
@@ -5,11 +5,12 @@
#ifndef CHROME_BROWSER_UI_VIEWS_CHROME_CONSTRAINED_WINDOW_VIEWS_CLIENT_H_
#define CHROME_BROWSER_UI_VIEWS_CHROME_CONSTRAINED_WINDOW_VIEWS_CLIENT_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "components/constrained_window/constrained_window_views_client.h"
// Creates a ConstrainedWindowViewsClient for the Chrome environment.
-scoped_ptr<constrained_window::ConstrainedWindowViewsClient>
+std::unique_ptr<constrained_window::ConstrainedWindowViewsClient>
CreateChromeConstrainedWindowViewsClient();
#endif // CHROME_BROWSER_UI_VIEWS_CHROME_CONSTRAINED_WINDOW_VIEWS_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698