Index: remoting/client/chromoting_client.h |
diff --git a/remoting/client/chromoting_client.h b/remoting/client/chromoting_client.h |
index 124e42594c21680c453a7f41450d01d00ddf00b1..c165c4ee040e7163c2ac4b6ffba97badf1838964 100644 |
--- a/remoting/client/chromoting_client.h |
+++ b/remoting/client/chromoting_client.h |
@@ -9,7 +9,7 @@ |
#include <list> |
-#include "base/task.h" |
+#include "base/callback.h" |
#include "base/time.h" |
#include "remoting/base/scoped_thread_proxy.h" |
#include "remoting/client/client_config.h" |
@@ -46,7 +46,7 @@ class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback, |
ChromotingView* view, |
RectangleUpdateDecoder* rectangle_decoder, |
InputHandler* input_handler, |
- Task* client_done); |
+ const base::Closure& client_done); |
virtual ~ChromotingClient(); |
void Start(scoped_refptr<XmppProxy> xmpp_proxy); |
@@ -102,7 +102,7 @@ class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback, |
InputHandler* input_handler_; |
// If non-NULL, this is called when the client is done. |
- Task* client_done_; |
+ base::Closure client_done_; |
// Contains all video packets that have been received, but have not yet been |
// processed. |