Index: remoting/protocol/host_message_dispatcher.cc |
diff --git a/remoting/protocol/host_message_dispatcher.cc b/remoting/protocol/host_message_dispatcher.cc |
index eec734c2c470c8c1921503bf09258e96766131dc..f70037ff0097b204867fa0759d9e0b71120ad6fa 100644 |
--- a/remoting/protocol/host_message_dispatcher.cc |
+++ b/remoting/protocol/host_message_dispatcher.cc |
@@ -80,6 +80,12 @@ void HostMessageDispatcher::OnControlMessageReceived(ControlMessage* message) { |
if (message->has_suggest_resolution()) { |
host_stub_->SuggestResolution( |
&message->suggest_resolution(), NewDeleteTask(ref_msg)); |
+ } else if (message->has_begin_session_request()) { |
+ host_stub_->BeginSessionRequest( |
+ &message->begin_session_request().credentials(), |
+ NewDeleteTask(ref_msg)); |
+ } else { |
+ NOTREACHED() << "Invalid control message received"; |
} |
} |