| Index: remoting/host/win/worker_process_launcher.h
|
| diff --git a/remoting/host/win/worker_process_launcher.h b/remoting/host/win/worker_process_launcher.h
|
| index e263509e5ceab81f51d88b724850c47e8082522b..9e3ff2fd4f5eea76dddcd806d8365ba3a9e776cd 100644
|
| --- a/remoting/host/win/worker_process_launcher.h
|
| +++ b/remoting/host/win/worker_process_launcher.h
|
| @@ -7,11 +7,12 @@
|
|
|
| #include <stdint.h>
|
|
|
| +#include <memory>
|
| +
|
| #include "base/callback.h"
|
| #include "base/compiler_specific.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/timer/timer.h"
|
| #include "base/win/object_watcher.h"
|
| @@ -66,7 +67,7 @@ class WorkerProcessLauncher
|
| // Creates the launcher that will use |launcher_delegate| to manage the worker
|
| // process and |ipc_handler| to handle IPCs. The caller must ensure that
|
| // |ipc_handler| must outlive this object.
|
| - WorkerProcessLauncher(scoped_ptr<Delegate> launcher_delegate,
|
| + WorkerProcessLauncher(std::unique_ptr<Delegate> launcher_delegate,
|
| WorkerProcessIpcDelegate* ipc_handler);
|
| ~WorkerProcessLauncher() override;
|
|
|
| @@ -130,7 +131,7 @@ class WorkerProcessLauncher
|
| WorkerProcessIpcDelegate* ipc_handler_;
|
|
|
| // Implements specifics of launching a worker process.
|
| - scoped_ptr<WorkerProcessLauncher::Delegate> launcher_delegate_;
|
| + std::unique_ptr<WorkerProcessLauncher::Delegate> launcher_delegate_;
|
|
|
| // Keeps the exit code of the worker process after it was closed. The exit
|
| // code is used to determine whether the process has to be restarted.
|
|
|