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

Unified Diff: remoting/protocol/client_event_dispatcher.cc

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
« no previous file with comments | « remoting/protocol/client_event_dispatcher.h ('k') | remoting/protocol/client_video_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/client_event_dispatcher.cc
diff --git a/remoting/protocol/client_event_dispatcher.cc b/remoting/protocol/client_event_dispatcher.cc
index 9329227bab31572985aac1d5a54bbb218f6283fa..87ae9b3290e3707fec1745fa0f1ee3bf7c8dbd1b 100644
--- a/remoting/protocol/client_event_dispatcher.cc
+++ b/remoting/protocol/client_event_dispatcher.cc
@@ -52,5 +52,10 @@ void ClientEventDispatcher::InjectTouchEvent(const TouchEvent& event) {
writer()->Write(SerializeAndFrameMessage(message), base::Closure());
}
+void ClientEventDispatcher::OnIncomingMessage(
+ scoped_ptr<CompoundBuffer> message) {
+ LOG(ERROR) << "Received unexpected message on the event channel.";
+}
+
} // namespace protocol
} // namespace remoting
« no previous file with comments | « remoting/protocol/client_event_dispatcher.h ('k') | remoting/protocol/client_video_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698