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

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
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..bece2e1958dae9f81f56a22bdb526cac23135f9f 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 HostInputDispatcher;
// 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<HostInputDispatcher> input_dispatcher_;
// State of the channels.
bool control_connected_;

Powered by Google App Engine
This is Rietveld 408576698