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

Unified Diff: remoting/protocol/connection_to_client.h

Issue 8468022: Refactor channel dispatchers on the host side. (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_control_sender.cc ('k') | remoting/protocol/connection_to_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/connection_to_client.h
diff --git a/remoting/protocol/connection_to_client.h b/remoting/protocol/connection_to_client.h
index c59c8f39faea842480a55791713e8255db391b64..418e0711fb6f5224ce137a396d21a013167c6a0e 100644
--- a/remoting/protocol/connection_to_client.h
+++ b/remoting/protocol/connection_to_client.h
@@ -21,11 +21,11 @@ class MessageLoopProxy;
namespace remoting {
namespace protocol {
-class ClientControlSender;
class ClientStub;
class HostStub;
class InputStub;
-class HostMessageDispatcher;
+class HostControlDispatcher;
+class HostEventDispatcher;
// This class represents a remote viewer connection to the chromoting
// host. It sets up all protocol channels and connects them to the
@@ -104,12 +104,9 @@ class ConnectionToClient : public base::NonThreadSafe {
// The libjingle channel used to send and receive data from the remote client.
scoped_ptr<Session> session_;
- // Writers for outgoing channels.
scoped_ptr<VideoWriter> video_writer_;
- scoped_ptr<ClientControlSender> client_control_sender_;
-
- // Dispatcher for incoming messages.
- scoped_ptr<HostMessageDispatcher> dispatcher_;
+ scoped_ptr<HostControlDispatcher> control_dispatcher_;
+ scoped_ptr<HostEventDispatcher> input_dispatcher_;
// State of the channels.
bool control_connected_;
« no previous file with comments | « remoting/protocol/client_control_sender.cc ('k') | remoting/protocol/connection_to_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698