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

Unified Diff: remoting/host/curtain_mode.h

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_win.cc ('k') | remoting/host/curtain_mode_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/curtain_mode.h
diff --git a/remoting/host/curtain_mode.h b/remoting/host/curtain_mode.h
index 6d8522fbd9fcf56e436a9647787bce2e5bc5c396..58e147e74324ed8e6207897b995b5e4eca8710b2 100644
--- a/remoting/host/curtain_mode.h
+++ b/remoting/host/curtain_mode.h
@@ -5,10 +5,11 @@
#ifndef REMOTING_HOST_CURTAIN_MODE_H_
#define REMOTING_HOST_CURTAIN_MODE_H_
+#include <memory>
+
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
namespace base {
@@ -28,7 +29,7 @@ class CurtainMode {
// the local console. |client_session_control| can be used to drop
// the connection in the case if the session re-connects to the local console
// in mid-flight.
- static scoped_ptr<CurtainMode> Create(
+ static std::unique_ptr<CurtainMode> Create(
scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
base::WeakPtr<ClientSessionControl> client_session_control);
« no previous file with comments | « remoting/host/continue_window_win.cc ('k') | remoting/host/curtain_mode_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698