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

Unified Diff: remoting/protocol/connection_to_client.h

Issue 8587053: Remove event_channel() and control_channel() from Session interface. (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_event_dispatcher.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 a721a4825361678f31fcbf0f6a3f455355d1556e..b9fecb39bc4d51203f9aec123f35c4337d96a1cb 100644
--- a/remoting/protocol/connection_to_client.h
+++ b/remoting/protocol/connection_to_client.h
@@ -80,8 +80,8 @@ class ConnectionToClient : public base::NonThreadSafe {
// Callback for protocol Session.
void OnSessionStateChange(Session::State state);
- // Callback for VideoReader::Init().
- void OnVideoInitialized(bool successful);
+ // Callback for channel initialization.
+ void OnChannelInitialized(bool successful);
void NotifyIfChannelsReady();
@@ -100,14 +100,9 @@ class ConnectionToClient : public base::NonThreadSafe {
// The libjingle channel used to send and receive data from the remote client.
scoped_ptr<Session> session_;
- scoped_ptr<VideoWriter> video_writer_;
scoped_ptr<HostControlDispatcher> control_dispatcher_;
- scoped_ptr<HostEventDispatcher> input_dispatcher_;
-
- // State of the channels.
- bool control_connected_;
- bool input_connected_;
- bool video_connected_;
+ scoped_ptr<HostEventDispatcher> event_dispatcher_;
+ scoped_ptr<VideoWriter> video_writer_;
DISALLOW_COPY_AND_ASSIGN(ConnectionToClient);
};
« no previous file with comments | « remoting/protocol/client_event_dispatcher.cc ('k') | remoting/protocol/connection_to_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698