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..a86142fa97977f42253fea33d68701095758df19 100644 |
--- a/remoting/protocol/client_video_dispatcher.h |
+++ b/remoting/protocol/client_video_dispatcher.h |
@@ -21,6 +21,18 @@ class ClientVideoDispatcher : public ChannelDispatcherBase { |
~ClientVideoDispatcher() override; |
private: |
+ struct PendingFrame; |
+ typedef std::list<PendingFrame> PendingFramesList; |
+ |
+ void ProcessVideoPacket(scoped_ptr<VideoPacket> video_packet, |
+ const base::Closure& done); |
+ |
+ // Callback for VideoStub::ProcessVideoPacket(). |
+ void OnPacketDone(PendingFramesList::iterator pending_frame); |
+ |
+ PendingFramesList pending_frames_; |
+ |
+ VideoStub* video_stub_; |
ProtobufMessageParser<VideoPacket> parser_; |
DISALLOW_COPY_AND_ASSIGN(ClientVideoDispatcher); |