Index: remoting/protocol/client_video_dispatcher.h |
diff --git a/remoting/protocol/client_video_dispatcher.h b/remoting/protocol/client_video_dispatcher.h |
index fb726f03f4f676d7295cef6ffaa4b291f2af57e2..b2b1e3162ab5b08fb2317fe3e00ed3d02ae2bbcf 100644 |
--- a/remoting/protocol/client_video_dispatcher.h |
+++ b/remoting/protocol/client_video_dispatcher.h |
@@ -8,7 +8,7 @@ |
#include "base/compiler_specific.h" |
#include "remoting/proto/video.pb.h" |
#include "remoting/protocol/channel_dispatcher_base.h" |
-#include "remoting/protocol/message_reader.h" |
+#include "remoting/protocol/protobuf_message_parser.h" |
namespace remoting { |
namespace protocol { |
@@ -20,15 +20,8 @@ class ClientVideoDispatcher : public ChannelDispatcherBase { |
explicit ClientVideoDispatcher(VideoStub* video_stub); |
~ClientVideoDispatcher() override; |
- protected: |
- // ChannelDispatcherBase overrides. |
- void OnInitialized() override; |
- |
private: |
- ProtobufMessageReader<VideoPacket> reader_; |
- |
- // The stub to which VideoPackets are passed for processing. |
- VideoStub* video_stub_; |
+ ProtobufMessageParser<VideoPacket> parser_; |
DISALLOW_COPY_AND_ASSIGN(ClientVideoDispatcher); |
}; |