Index: remoting/host/event_executor.h |
diff --git a/remoting/host/event_executor.h b/remoting/host/event_executor.h |
index f99339b465108f5b4585d539457fd47789994e75..86287884c2427bb4374e1df4e649f32179d15213 100644 |
--- a/remoting/host/event_executor.h |
+++ b/remoting/host/event_executor.h |
@@ -5,19 +5,20 @@ |
#ifndef REMOTING_HOST_EVENT_EXECUTOR_H_ |
#define REMOTING_HOST_EVENT_EXECUTOR_H_ |
+#include "remoting/protocol/input_stub.h" |
+ |
class MessageLoopForUI; |
namespace remoting { |
class Capturer; |
-namespace protocol { |
-class InputStub; |
-} // namespace protocol |
- |
-// Creates default event executor for the current platform. |
-protocol::InputStub* CreateEventExecutor(MessageLoopForUI* message_loop, |
- Capturer* capturer); |
+class EventExecutor : public protocol::InputStub { |
+ public: |
+ // Creates default event executor for the current platform. |
+ static EventExecutor* Create(MessageLoopForUI* message_loop, |
+ Capturer* capturer); |
+}; |
} // namespace remoting |