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

Unified Diff: remoting/client/chromoting_client.h

Issue 8493020: Move code in src/remoting to the new callbacks. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix win and mac Created 9 years, 1 month 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
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.

Powered by Google App Engine
This is Rietveld 408576698