Index: remoting/host/win/unprivileged_process_delegate.h |
diff --git a/remoting/host/win/unprivileged_process_delegate.h b/remoting/host/win/unprivileged_process_delegate.h |
index 086f911808ce9a7708b40bb18b3add0ca10d67b1..5059234ff4dd596a6567c141f913ee239cb7e1ca 100644 |
--- a/remoting/host/win/unprivileged_process_delegate.h |
+++ b/remoting/host/win/unprivileged_process_delegate.h |
@@ -7,11 +7,12 @@ |
#include <stdint.h> |
+#include <memory> |
+ |
#include "base/compiler_specific.h" |
#include "base/files/file_path.h" |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/threading/non_thread_safe.h" |
#include "base/win/scoped_handle.h" |
#include "ipc/ipc_listener.h" |
@@ -38,7 +39,7 @@ class UnprivilegedProcessDelegate |
public: |
UnprivilegedProcessDelegate( |
scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, |
- scoped_ptr<base::CommandLine> target_command); |
+ std::unique_ptr<base::CommandLine> target_command); |
~UnprivilegedProcessDelegate() override; |
// WorkerProcessLauncher::Delegate implementation. |
@@ -60,11 +61,11 @@ class UnprivilegedProcessDelegate |
scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; |
// Command line of the launched process. |
- scoped_ptr<base::CommandLine> target_command_; |
+ std::unique_ptr<base::CommandLine> target_command_; |
// The server end of the IPC channel used to communicate to the worker |
// process. |
- scoped_ptr<IPC::ChannelProxy> channel_; |
+ std::unique_ptr<IPC::ChannelProxy> channel_; |
WorkerProcessLauncher* event_handler_; |