| Index: remoting/host/win/session_input_injector.h
|
| diff --git a/remoting/host/win/session_event_executor.h b/remoting/host/win/session_input_injector.h
|
| similarity index 72%
|
| rename from remoting/host/win/session_event_executor.h
|
| rename to remoting/host/win/session_input_injector.h
|
| index d9fef51067f3f550d1a6ed731f7e90c112764c35..9fcff4018dcc7fe733298519b1d944c0e856128b 100644
|
| --- a/remoting/host/win/session_event_executor.h
|
| +++ b/remoting/host/win/session_input_injector.h
|
| @@ -2,14 +2,14 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef REMOTING_HOST_WIN_SESSION_EVENT_EXECUTOR_H_
|
| -#define REMOTING_HOST_WIN_SESSION_EVENT_EXECUTOR_H_
|
| +#ifndef REMOTING_HOST_WIN_SESSION_INPUT_INJECTOR_H_
|
| +#define REMOTING_HOST_WIN_SESSION_INPUT_INJECTOR_H_
|
|
|
| #include "base/basictypes.h"
|
| #include "base/callback_forward.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/memory/ref_counted.h"
|
| -#include "remoting/host/event_executor.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| +#include "remoting/host/input_injector.h"
|
|
|
| namespace base {
|
| class SingleThreadTaskRunner;
|
| @@ -20,18 +20,18 @@ namespace remoting {
|
| // Monitors and passes key/mouse events to a nested event executor. Injects
|
| // Secure Attention Sequence (SAS) when Ctrl+Alt+Del key combination has been
|
| // detected.
|
| -class SessionEventExecutorWin : public EventExecutor {
|
| +class SessionInputInjectorWin : public InputInjector {
|
| public:
|
| // |inject_sas| is invoked on |inject_sas_task_runner| to generate SAS on
|
| // Vista+.
|
| - SessionEventExecutorWin(
|
| + SessionInputInjectorWin(
|
| scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
|
| - scoped_ptr<EventExecutor> nested_executor,
|
| + scoped_ptr<InputInjector> nested_executor,
|
| scoped_refptr<base::SingleThreadTaskRunner> inject_sas_task_runner,
|
| const base::Closure& inject_sas);
|
| - virtual ~SessionEventExecutorWin();
|
| + virtual ~SessionInputInjectorWin();
|
|
|
| - // EventExecutor implementation.
|
| + // InputInjector implementation.
|
| virtual void Start(
|
| scoped_ptr<protocol::ClipboardStub> client_clipboard) OVERRIDE;
|
|
|
| @@ -44,13 +44,13 @@ class SessionEventExecutorWin : public EventExecutor {
|
| virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE;
|
|
|
| private:
|
| - // The actual implementation resides in SessionEventExecutorWin::Core class.
|
| + // The actual implementation resides in SessionInputInjectorWin::Core class.
|
| class Core;
|
| scoped_refptr<Core> core_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(SessionEventExecutorWin);
|
| + DISALLOW_COPY_AND_ASSIGN(SessionInputInjectorWin);
|
| };
|
|
|
| } // namespace remoting
|
|
|
| -#endif // REMOTING_HOST_WIN_SESSION_EVENT_EXECUTOR_H_
|
| +#endif // REMOTING_HOST_WIN_SESSION_INPUT_INJECTOR_H_
|
|
|