Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Unified Diff: remoting/protocol/host_control_sender.h

Issue 8116021: Switch remoting/protocol to new callbacks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/protocol/fake_session.cc ('k') | remoting/protocol/host_control_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/host_control_sender.h
diff --git a/remoting/protocol/host_control_sender.h b/remoting/protocol/host_control_sender.h
index c1425daf786f48fc305f4e2847aef0ed8c4cf895..b1e15b4189024ebbb40777a9e1905a01ae4136d2 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.
« no previous file with comments | « remoting/protocol/fake_session.cc ('k') | remoting/protocol/host_control_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698