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

Unified Diff: remoting/protocol/message_reader.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
« no previous file with comments | « remoting/protocol/ice_connection_to_host.h ('k') | remoting/protocol/message_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/message_reader.h
diff --git a/remoting/protocol/message_reader.h b/remoting/protocol/message_reader.h
index 399407365d1760d8208b28588c48469061556c5d..4467e687aaa86a3fc60d0548f7f03e4f64b214d7 100644
--- a/remoting/protocol/message_reader.h
+++ b/remoting/protocol/message_reader.h
@@ -42,11 +42,9 @@ class MessageReader : public base::NonThreadSafe {
MessageReader();
virtual ~MessageReader();
- // Sets the callback to be called for each incoming message.
- void SetMessageReceivedCallback(const MessageReceivedCallback& callback);
-
// Starts reading from |socket|.
void StartReading(P2PStreamSocket* socket,
+ const MessageReceivedCallback& message_received_callback,
const ReadFailedCallback& read_failed_callback);
private:
« no previous file with comments | « remoting/protocol/ice_connection_to_host.h ('k') | remoting/protocol/message_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698