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

Unified Diff: remoting/protocol/client_video_dispatcher.h

Issue 850983002: Implement video frame acknowledgements in the chromoting protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
Index: remoting/protocol/client_video_dispatcher.h
diff --git a/remoting/protocol/client_video_dispatcher.h b/remoting/protocol/client_video_dispatcher.h
index b2b1e3162ab5b08fb2317fe3e00ed3d02ae2bbcf..7b21f53193efb3c7d3cb0423a6cbe7260c4340a2 100644
--- a/remoting/protocol/client_video_dispatcher.h
+++ b/remoting/protocol/client_video_dispatcher.h
@@ -21,6 +21,13 @@ class ClientVideoDispatcher : public ChannelDispatcherBase {
~ClientVideoDispatcher() override;
private:
+ void OnVideoPacket(scoped_ptr<VideoPacket> video_packet,
+ const base::Closure& done);
+ void OnPacketProcessed(VideoAck ack_message,
Wez 2015/01/21 01:35:39 const& (Bind() should still copy the parameter in
Sergey Ulanov 2015/01/29 01:33:28 Done.
+ base::TimeTicks received_time,
+ const base::Closure& done);
Wez 2015/01/21 01:35:39 Suggest more helpful naming, e.g. OnVideoPacket->P
Sergey Ulanov 2015/01/29 01:33:28 Renamed OnVideoPacket() only. OnPacketProcessed()
+
+ VideoStub* video_stub_;
ProtobufMessageParser<VideoPacket> parser_;
DISALLOW_COPY_AND_ASSIGN(ClientVideoDispatcher);

Powered by Google App Engine
This is Rietveld 408576698