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

Unified Diff: remoting/protocol/connection_to_host.h

Issue 8574025: Refactor client channel dispatchers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 1 month 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_message_dispatcher.cc ('k') | remoting/protocol/connection_to_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/connection_to_host.h
diff --git a/remoting/protocol/connection_to_host.h b/remoting/protocol/connection_to_host.h
index dcca294d4192450353b8ed037115f830cd2c14b4..8a2385ae44f2211a00bc84e912c69090248095c9 100644
--- a/remoting/protocol/connection_to_host.h
+++ b/remoting/protocol/connection_to_host.h
@@ -31,11 +31,10 @@ class VideoPacket;
namespace protocol {
-class ClientMessageDispatcher;
+class ClientControlDispatcher;
+class ClientEventDispatcher;
class ClientStub;
-class HostControlSender;
class HostStub;
-class InputSender;
class InputStub;
class SessionConfig;
class VideoReader;
@@ -152,13 +151,9 @@ class ConnectionToHost : public SignalStrategy::StatusObserver,
scoped_ptr<SessionManager> session_manager_;
scoped_ptr<Session> session_;
- // Handlers for incoming messages.
scoped_ptr<VideoReader> video_reader_;
- scoped_ptr<ClientMessageDispatcher> dispatcher_;
-
- // Senders for outgoing messages.
- scoped_ptr<InputSender> input_sender_;
- scoped_ptr<HostControlSender> host_control_sender_;
+ scoped_ptr<ClientControlDispatcher> control_dispatcher_;
+ scoped_ptr<ClientEventDispatcher> input_dispatcher_;
// Internal state of the connection.
State state_;
« no previous file with comments | « remoting/protocol/client_message_dispatcher.cc ('k') | remoting/protocol/connection_to_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698