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

Unified Diff: remoting/protocol/host_event_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/host_control_dispatcher.cc ('k') | remoting/protocol/host_event_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/host_event_dispatcher.h
diff --git a/remoting/protocol/host_event_dispatcher.h b/remoting/protocol/host_event_dispatcher.h
index aaa5fe9da055253b04aee2ad9081eb11c5aabfcb..3f1bd88c81ba30a6c8ad81e3903c02f329046f00 100644
--- a/remoting/protocol/host_event_dispatcher.h
+++ b/remoting/protocol/host_event_dispatcher.h
@@ -6,7 +6,7 @@
#define REMOTING_PROTOCOL_HOST_EVENT_DISPATCHER_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 {
@@ -34,10 +34,6 @@ class HostEventDispatcher : public ChannelDispatcherBase {
event_timestamp_callback_ = value;
}
- protected:
- // ChannelDispatcherBase overrides.
- void OnInitialized() override;
-
private:
void OnMessageReceived(scoped_ptr<EventMessage> message,
const base::Closure& done_task);
@@ -45,7 +41,7 @@ class HostEventDispatcher : public ChannelDispatcherBase {
InputStub* input_stub_;
EventTimestampCallback event_timestamp_callback_;
- ProtobufMessageReader<EventMessage> reader_;
+ ProtobufMessageParser<EventMessage> parser_;
DISALLOW_COPY_AND_ASSIGN(HostEventDispatcher);
};
« no previous file with comments | « remoting/protocol/host_control_dispatcher.cc ('k') | remoting/protocol/host_event_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698