| 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();
|
|
|