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

Unified Diff: remoting/protocol/client_video_dispatcher.h

Issue 841773005: Cleanup channel dispatchers (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
« no previous file with comments | « remoting/protocol/client_event_dispatcher.cc ('k') | remoting/protocol/client_video_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « remoting/protocol/client_event_dispatcher.cc ('k') | remoting/protocol/client_video_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698