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..445fb4c0dec74694bec6215b3f9d67296816b618 100644 |
--- a/remoting/protocol/client_video_dispatcher.h |
+++ b/remoting/protocol/client_video_dispatcher.h |
@@ -9,18 +9,28 @@ |
#include "remoting/proto/video.pb.h" |
#include "remoting/protocol/channel_dispatcher_base.h" |
#include "remoting/protocol/protobuf_message_parser.h" |
+#include "remoting/protocol/video_stub.h" |
namespace remoting { |
namespace protocol { |
-class VideoStub; |
- |
class ClientVideoDispatcher : public ChannelDispatcherBase { |
public: |
explicit ClientVideoDispatcher(VideoStub* video_stub); |
~ClientVideoDispatcher() override; |
private: |
+ void ProcessVideoPacket(scoped_ptr<VideoPacket> video_packet, |
+ const base::Closure& done); |
+ |
+ // Callback for VideoStub::ProcessVideoPacket(). |
+ void OnPacketProgress(int frame_id, |
+ base::TimeDelta time_to_receive, |
+ base::TimeTicks received_time, |
+ const base::Closure& done, |
+ VideoStub::PacketProgress packet_progress); |
+ |
+ VideoStub* video_stub_; |
ProtobufMessageParser<VideoPacket> parser_; |
DISALLOW_COPY_AND_ASSIGN(ClientVideoDispatcher); |