| Index: remoting/host/input_injector.h
|
| diff --git a/remoting/host/input_injector.h b/remoting/host/input_injector.h
|
| index 99a7ddee4693e46d4afd48971f5580f6ef2ab379..20169c491bfd9b927734404f0ed57a938877ff4e 100644
|
| --- a/remoting/host/input_injector.h
|
| +++ b/remoting/host/input_injector.h
|
| @@ -5,8 +5,9 @@
|
| #ifndef REMOTING_HOST_INPUT_INJECTOR_H_
|
| #define REMOTING_HOST_INPUT_INJECTOR_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "base/memory/ref_counted.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "remoting/protocol/clipboard_stub.h"
|
| #include "remoting/protocol/input_stub.h"
|
|
|
| @@ -24,7 +25,7 @@ class InputInjector : public protocol::ClipboardStub,
|
| // object should do as much work as possible on |main_task_runner|,
|
| // using |ui_task_runner| only for tasks actually requiring a UI
|
| // thread.
|
| - static scoped_ptr<InputInjector> Create(
|
| + static std::unique_ptr<InputInjector> Create(
|
| scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
|
| scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner);
|
|
|
| @@ -34,7 +35,7 @@ class InputInjector : public protocol::ClipboardStub,
|
|
|
| // Initialises any objects needed to execute events.
|
| virtual void Start(
|
| - scoped_ptr<protocol::ClipboardStub> client_clipboard) = 0;
|
| + std::unique_ptr<protocol::ClipboardStub> client_clipboard) = 0;
|
| };
|
|
|
| } // namespace remoting
|
|
|