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

Unified Diff: remoting/protocol/host_event_dispatcher.h

Issue 1654513003: Simplify message parsing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@no_done
Patch Set: Created 4 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 9a6211a2beb9a787c32d23a504a8f5f86309fdfd..633b28409e7be266d7ef0b0f697e50fd30690ee4 100644
--- a/remoting/protocol/host_event_dispatcher.h
+++ b/remoting/protocol/host_event_dispatcher.h
@@ -9,7 +9,6 @@
#include "base/macros.h"
#include "remoting/protocol/channel_dispatcher_base.h"
-#include "remoting/protocol/protobuf_message_parser.h"
namespace remoting {
namespace protocol {
@@ -38,13 +37,11 @@ class HostEventDispatcher : public ChannelDispatcherBase {
}
private:
- void OnMessageReceived(scoped_ptr<EventMessage> message);
+ void OnIncomingMessage(scoped_ptr<CompoundBuffer> buffer) override;
InputStub* input_stub_;
Jamie 2016/01/30 00:56:27 Initialize to nullptr here instead of in the ctor?
Sergey Ulanov 2016/01/30 02:15:48 Done.
OnInputEventCallback on_input_event_callback_;
- ProtobufMessageParser<EventMessage> parser_;
-
DISALLOW_COPY_AND_ASSIGN(HostEventDispatcher);
};

Powered by Google App Engine
This is Rietveld 408576698