Index: remoting/protocol/host_message_dispatcher.h |
diff --git a/remoting/protocol/host_message_dispatcher.h b/remoting/protocol/host_message_dispatcher.h |
index 0a9aa5eb908693e8323f5cd1ac959580fa6488f5..6274168e27770112681b25428eeba94d2be883b3 100644 |
--- a/remoting/protocol/host_message_dispatcher.h |
+++ b/remoting/protocol/host_message_dispatcher.h |
@@ -29,7 +29,7 @@ class Session; |
// communications channels into protocol buffer messages. |
// EventStreamReader is registered with protocol::Session given to it. |
// |
-// Object of this class is owned by ChromotingHost to dispatch messages |
+// Object of this class is owned by ConnectionToClient to dispatch messages |
// to itself. |
class HostMessageDispatcher { |
public: |
@@ -39,8 +39,7 @@ class HostMessageDispatcher { |
// Initialize the message dispatcher with the given connection and |
// message handlers. |
- // Return true if initalization was successful. |
- bool Initialize(protocol::Session* session, |
+ void Initialize(protocol::Session* session, |
HostStub* host_stub, InputStub* input_stub); |
private: |