Index: remoting/host/event_executor.h |
diff --git a/remoting/host/event_executor.h b/remoting/host/event_executor.h |
index eb0a88658bce79caf08474cb8bcf91e2907c765d..51dcfe384490fb981d971bd42760d257eb5a48ee 100644 |
--- a/remoting/host/event_executor.h |
+++ b/remoting/host/event_executor.h |
@@ -10,14 +10,21 @@ |
class MessageLoop; |
+namespace base { |
+class MessageLoopProxy; |
+} // namespace base |
+ |
namespace remoting { |
class Capturer; |
class EventExecutor : public protocol::HostEventStub { |
public: |
- // Creates default event executor for the current platform. |
+ // Creates a default event executor for the current platform. |
+ // This object should do as much work as possible on |message_loop|, using |
+ // |ui_loop| only when necessary. |
static scoped_ptr<EventExecutor> Create(MessageLoop* message_loop, |
+ base::MessageLoopProxy* ui_loop, |
Capturer* capturer); |
// Initialises any objects needed to execute events. |