summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/host_message_dispatcher.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-07 05:07:40 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-07 05:07:40 +0000
commit9e2a3137641bc104980e13388b6088d3f4a9b52f (patch)
tree353e7915a047c43b466f2d4de514605a71691b45 /remoting/protocol/host_message_dispatcher.h
parent7feba7ed4d88f95d041abd6bea7a2ba93d9a9f3a (diff)
downloadchromium_src-9e2a3137641bc104980e13388b6088d3f4a9b52f.zip
chromium_src-9e2a3137641bc104980e13388b6088d3f4a9b52f.tar.gz
chromium_src-9e2a3137641bc104980e13388b6088d3f4a9b52f.tar.bz2
Switch remoting/protocol to new callbacks
There is still some code that uses old callbacks (particularly unittests) - I will convert them in a separate CL. BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/8116021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104440 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/host_message_dispatcher.h')
-rw-r--r--remoting/protocol/host_message_dispatcher.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/remoting/protocol/host_message_dispatcher.h b/remoting/protocol/host_message_dispatcher.h
index 2a55474..0b95e46 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