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

Unified Diff: remoting/protocol/channel_multiplexer.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
« no previous file with comments | « remoting/protocol/channel_dispatcher_base.cc ('k') | remoting/protocol/channel_multiplexer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/channel_multiplexer.h
diff --git a/remoting/protocol/channel_multiplexer.h b/remoting/protocol/channel_multiplexer.h
index 2b93d2e553d42519524eeda8f9df35dca9cd6a23..c83b0f3b9616ea6e3352a0aed34888ae2385ab96 100644
--- a/remoting/protocol/channel_multiplexer.h
+++ b/remoting/protocol/channel_multiplexer.h
@@ -9,6 +9,7 @@
#include "remoting/proto/mux.pb.h"
#include "remoting/protocol/buffered_socket_writer.h"
#include "remoting/protocol/message_reader.h"
+#include "remoting/protocol/protobuf_message_parser.h"
#include "remoting/protocol/stream_channel_factory.h"
namespace remoting {
@@ -78,7 +79,8 @@ class ChannelMultiplexer : public StreamChannelFactory {
std::map<int, MuxChannel*> channels_by_receive_id_;
BufferedSocketWriter writer_;
- ProtobufMessageReader<MultiplexPacket> reader_;
+ MessageReader reader_;
+ ProtobufMessageParser<MultiplexPacket> parser_;
base::WeakPtrFactory<ChannelMultiplexer> weak_factory_;
« no previous file with comments | « remoting/protocol/channel_dispatcher_base.cc ('k') | remoting/protocol/channel_multiplexer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698