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); |
}; |