Index: remoting/protocol/host_event_dispatcher.h |
diff --git a/remoting/protocol/host_event_dispatcher.h b/remoting/protocol/host_event_dispatcher.h |
index 968db88081e3a4f6249361a4be60970c2575fa5b..c7b13619bee4bd88604d376c9a2e7042d6f1eaff 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 { |
sequence_number_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_; |
SequenceNumberCallback sequence_number_callback_; |
- ProtobufMessageReader<EventMessage> reader_; |
+ ProtobufMessageParser<EventMessage> parser_; |
DISALLOW_COPY_AND_ASSIGN(HostEventDispatcher); |
}; |