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

Unified Diff: remoting/host/continue_window_win.cc

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU 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 | « remoting/host/continue_window_mac.mm ('k') | remoting/host/curtain_mode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/continue_window_win.cc
diff --git a/remoting/host/continue_window_win.cc b/remoting/host/continue_window_win.cc
index d0ac25607b4727f2e629ef871798414fe4a1ae71..37578f22701803703d207d8abdc5e17bc2eb7945 100644
--- a/remoting/host/continue_window_win.cc
+++ b/remoting/host/continue_window_win.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "remoting/host/continue_window.h"
+
#include <windows.h>
#include "base/bind.h"
@@ -10,10 +12,10 @@
#include "base/location.h"
#include "base/logging.h"
#include "base/macros.h"
+#include "base/memory/ptr_util.h"
#include "base/single_thread_task_runner.h"
#include "base/strings/utf_string_conversions.h"
#include "base/win/current_module.h"
-#include "remoting/host/continue_window.h"
#include "remoting/host/win/core_resource.h"
namespace remoting {
@@ -128,8 +130,8 @@ void ContinueWindowWin::EndDialog() {
} // namespace
// static
-scoped_ptr<HostWindow> HostWindow::CreateContinueWindow() {
- return make_scoped_ptr(new ContinueWindowWin());
+std::unique_ptr<HostWindow> HostWindow::CreateContinueWindow() {
+ return base::WrapUnique(new ContinueWindowWin());
}
} // namespace remoting
« no previous file with comments | « remoting/host/continue_window_mac.mm ('k') | remoting/host/curtain_mode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698