Index: remoting/protocol/host_message_dispatcher.cc |
diff --git a/remoting/protocol/host_message_dispatcher.cc b/remoting/protocol/host_message_dispatcher.cc |
index 7af2cc1c82e7eef66311270597cbb9863d3a141f..b5f9f60029c150857ac4c604086fee6d9f81d76f 100644 |
--- a/remoting/protocol/host_message_dispatcher.cc |
+++ b/remoting/protocol/host_message_dispatcher.cc |
@@ -54,14 +54,6 @@ void HostMessageDispatcher::Initialize( |
void HostMessageDispatcher::OnControlMessageReceived( |
ControlMessage* message, const base::Closure& done_task) { |
- if (message->has_begin_session_request()) { |
- const BeginSessionRequest& request = message->begin_session_request(); |
- if (request.has_credentials() && request.credentials().has_type()) { |
- host_stub_->BeginSessionRequest(&request.credentials(), done_task); |
- return; |
- } |
- } |
- |
LOG(WARNING) << "Invalid control message received."; |
done_task.Run(); |
} |