Index: remoting/host/event_executor.h |
diff --git a/remoting/host/event_executor.h b/remoting/host/event_executor.h |
index f99339b465108f5b4585d539457fd47789994e75..449c670f61e185bbd55c5eeb9c68fa0647d8b2b7 100644 |
--- a/remoting/host/event_executor.h |
+++ b/remoting/host/event_executor.h |
@@ -1,23 +1,24 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
#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 |