diff options
Diffstat (limited to 'remoting/protocol/client_message_dispatcher.h')
-rw-r--r-- | remoting/protocol/client_message_dispatcher.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/protocol/client_message_dispatcher.h b/remoting/protocol/client_message_dispatcher.h index 1c9cbe4..47227af 100644 --- a/remoting/protocol/client_message_dispatcher.h +++ b/remoting/protocol/client_message_dispatcher.h @@ -7,7 +7,6 @@ #include "base/basictypes.h" #include "base/memory/scoped_ptr.h" -#include "base/task.h" #include "remoting/protocol/message_reader.h" namespace remoting { @@ -40,7 +39,8 @@ class ClientMessageDispatcher { void Initialize(protocol::Session* session, ClientStub* client_stub); private: - void OnControlMessageReceived(ControlMessage* message, Task* done_task); + void OnControlMessageReceived(ControlMessage* message, + const base::Closure& done_task); // MessageReader that runs on the control channel. It runs a loop // that parses data on the channel and then calls the corresponding handler |