Index: remoting/protocol/host_video_dispatcher.h |
diff --git a/remoting/protocol/host_video_dispatcher.h b/remoting/protocol/host_video_dispatcher.h |
index 323ddb76bfef39722c6d8e5201fcaac29c7328e7..1e61540420a2778df53800e8e2aa45d19d7b87c6 100644 |
--- a/remoting/protocol/host_video_dispatcher.h |
+++ b/remoting/protocol/host_video_dispatcher.h |
@@ -7,9 +7,7 @@ |
#include "base/compiler_specific.h" |
#include "base/macros.h" |
-#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 { |
@@ -31,11 +29,9 @@ class HostVideoDispatcher : public ChannelDispatcherBase, public VideoStub { |
const base::Closure& done) override; |
private: |
- void OnVideoAck(scoped_ptr<VideoAck> ack); |
+ void OnIncomingMessage(scoped_ptr<CompoundBuffer> message) override; |
- ProtobufMessageParser<VideoAck> parser_; |
- |
- VideoFeedbackStub* video_feedback_stub_; |
+ VideoFeedbackStub* video_feedback_stub_ = nullptr; |
DISALLOW_COPY_AND_ASSIGN(HostVideoDispatcher); |
}; |