Index: remoting/protocol/host_message_dispatcher.h |
diff --git a/remoting/protocol/host_message_dispatcher.h b/remoting/protocol/host_message_dispatcher.h |
index 2a554745c0edd21b7458a3d8037775669dbc18be..0b95e4659fbd5c0d180160299fa1eadff01f2b90 100644 |
--- a/remoting/protocol/host_message_dispatcher.h |
+++ b/remoting/protocol/host_message_dispatcher.h |
@@ -48,11 +48,13 @@ class HostMessageDispatcher { |
private: |
// This method is called by |control_channel_reader_| when a control |
// message is received. |
- void OnControlMessageReceived(ControlMessage* message, Task* done_task); |
+ void OnControlMessageReceived(ControlMessage* message, |
+ const base::Closure& done_task); |
// This method is called by |event_channel_reader_| when a event |
// message is received. |
- void OnEventMessageReceived(EventMessage* message, Task* done_task); |
+ void OnEventMessageReceived(EventMessage* 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 delegates the message to this |