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

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

Powered by Google App Engine
This is Rietveld 408576698