diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-07 05:07:40 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-07 05:07:40 +0000 |
commit | 9e2a3137641bc104980e13388b6088d3f4a9b52f (patch) | |
tree | 353e7915a047c43b466f2d4de514605a71691b45 /remoting/protocol/host_control_sender.h | |
parent | 7feba7ed4d88f95d041abd6bea7a2ba93d9a9f3a (diff) | |
download | chromium_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_control_sender.h')
-rw-r--r-- | remoting/protocol/host_control_sender.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/remoting/protocol/host_control_sender.h b/remoting/protocol/host_control_sender.h index c1425da..b1e15b4 100644 --- a/remoting/protocol/host_control_sender.h +++ b/remoting/protocol/host_control_sender.h @@ -13,11 +13,10 @@ #define REMOTING_PROTOCOL_HOST_STUB_IMPL_H_ #include "base/basictypes.h" +#include "base/callback.h" #include "base/memory/ref_counted.h" #include "remoting/protocol/host_stub.h" -class Task; - namespace base { class MessageLoopProxy; } // namespace base @@ -41,7 +40,7 @@ class HostControlSender : public HostStub { virtual ~HostControlSender(); virtual void BeginSessionRequest( - const LocalLoginCredentials* credentials, Task* done); + const LocalLoginCredentials* credentials, const base::Closure& done); // Stop writing. Must be called on the network thread when the // underlying socket is being destroyed. |