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

Unified Diff: remoting/host/client_connection.h

Issue 4017002: HostMessageDispatcher to parse control messages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged again Created 10 years, 2 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/host/chromoting_host.cc ('k') | remoting/host/client_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/client_connection.h
diff --git a/remoting/host/client_connection.h b/remoting/host/client_connection.h
index d8cf305723c451e5c2985f9949dde6ac1bd2c1b2..69283e2aa06f8f0debac49df1f03a80270ea1858 100644
--- a/remoting/host/client_connection.h
+++ b/remoting/host/client_connection.h
@@ -13,7 +13,7 @@
#include "base/scoped_ptr.h"
#include "remoting/proto/internal.pb.h"
#include "remoting/protocol/chromotocol_connection.h"
-#include "remoting/protocol/stream_reader.h"
+#include "remoting/protocol/message_reader.h"
#include "remoting/protocol/stream_writer.h"
namespace remoting {
@@ -87,7 +87,7 @@ class ClientConnection : public base::RefCountedThreadSafe<ClientConnection> {
// Callback for ChromotocolConnection.
void OnConnectionStateChange(ChromotocolConnection::State state);
- // Callback for EventsStreamReader.
+ // Callback for MessageReader.
void OnMessageReceived(ChromotingClientMessage* message);
// Process a libjingle state change event on the |loop_|.
@@ -101,7 +101,7 @@ class ClientConnection : public base::RefCountedThreadSafe<ClientConnection> {
// The libjingle channel used to send and receive data from the remote client.
scoped_refptr<ChromotocolConnection> connection_;
- EventStreamReader event_reader_;
+ MessageReader event_reader_;
VideoStreamWriter video_writer_;
// The message loop that this object runs on.
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/host/client_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698