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

Unified Diff: remoting/protocol/client_stub.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/client_message_dispatcher.cc ('k') | remoting/protocol/connection_to_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/client_stub.h
diff --git a/remoting/protocol/client_stub.h b/remoting/protocol/client_stub.h
index 21b3219a1745c84baed822664afe03adfa1f4fd6..49b6740fe3225a916b83c9b07d7a340242084718 100644
--- a/remoting/protocol/client_stub.h
+++ b/remoting/protocol/client_stub.h
@@ -11,8 +11,7 @@
#define REMOTING_PROTOCOL_CLIENT_STUB_H_
#include "base/basictypes.h"
-
-class Task;
+#include "base/callback.h"
namespace remoting {
namespace protocol {
@@ -26,7 +25,7 @@ class ClientStub {
virtual ~ClientStub() {}
virtual void BeginSessionResponse(const LocalLoginStatus* msg,
- Task* done) = 0;
+ const base::Closure& done) = 0;
private:
DISALLOW_COPY_AND_ASSIGN(ClientStub);
« no previous file with comments | « remoting/protocol/client_message_dispatcher.cc ('k') | remoting/protocol/connection_to_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698