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

Unified Diff: remoting/client/chromoting_client.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 | « no previous file | remoting/client/chromoting_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/chromoting_client.h
diff --git a/remoting/client/chromoting_client.h b/remoting/client/chromoting_client.h
index 5d1844833f10c5b16f0adc3ce1c066e5350a88c3..252a2bc1fce74c5d354c2aa8930df32d76b8bded 100644
--- a/remoting/client/chromoting_client.h
+++ b/remoting/client/chromoting_client.h
@@ -66,20 +66,19 @@ class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback,
// ClientStub implementation.
virtual void BeginSessionResponse(const protocol::LocalLoginStatus* msg,
- Task* done) OVERRIDE;
+ const base::Closure& done) OVERRIDE;
// VideoStub implementation.
virtual void ProcessVideoPacket(const VideoPacket* packet,
- Task* done) OVERRIDE;
+ const base::Closure& done) OVERRIDE;
virtual int GetPendingPackets() OVERRIDE;
private:
struct QueuedVideoPacket {
- QueuedVideoPacket(const VideoPacket* packet, Task* done)
- : packet(packet), done(done) {
- }
+ QueuedVideoPacket(const VideoPacket* packet, const base::Closure& done);
+ ~QueuedVideoPacket();
const VideoPacket* packet;
- Task* done;
+ base::Closure done;
};
base::MessageLoopProxy* message_loop();
« no previous file with comments | « no previous file | remoting/client/chromoting_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698