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

Unified Diff: chrome/browser/chromeos/login/ui/captive_portal_window_proxy.h

Issue 1870793002: Convert //chrome/browser/chromeos 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/chromeos/login/ui/captive_portal_window_proxy.h
diff --git a/chrome/browser/chromeos/login/ui/captive_portal_window_proxy.h b/chrome/browser/chromeos/login/ui/captive_portal_window_proxy.h
index 03a0b3823897ed91df2838d60c3f80719847b22c..cdc26669e24e6d49d4ef61a4fab9266eb086a48a 100644
--- a/chrome/browser/chromeos/login/ui/captive_portal_window_proxy.h
+++ b/chrome/browser/chromeos/login/ui/captive_portal_window_proxy.h
@@ -5,9 +5,10 @@
#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_CAPTIVE_PORTAL_WINDOW_PROXY_H_
#define CHROME_BROWSER_CHROMEOS_LOGIN_UI_CAPTIVE_PORTAL_WINDOW_PROXY_H_
+#include <memory>
+
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "ui/views/widget/widget_observer.h"
@@ -108,7 +109,7 @@ class CaptivePortalWindowProxy : public views::WidgetObserver {
Delegate* delegate_;
// Not owned by this class.
views::Widget* widget_;
- scoped_ptr<CaptivePortalView> captive_portal_view_;
+ std::unique_ptr<CaptivePortalView> captive_portal_view_;
// Not owned by this class.
content::WebContents* web_contents_;

Powered by Google App Engine
This is Rietveld 408576698