| Index: remoting/client/chromoting_client.h
|
| diff --git a/remoting/client/chromoting_client.h b/remoting/client/chromoting_client.h
|
| index 124e42594c21680c453a7f41450d01d00ddf00b1..fe4805797a164d60d17d6af932b39b81fc316de6 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.
|
| @@ -127,6 +127,4 @@ class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback,
|
|
|
| } // namespace remoting
|
|
|
| -DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::ChromotingClient);
|
| -
|
| #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_
|
|
|