diff options
Diffstat (limited to 'remoting/client/jingle_host_connection.cc')
-rw-r--r-- | remoting/client/jingle_host_connection.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/remoting/client/jingle_host_connection.cc b/remoting/client/jingle_host_connection.cc index a4519df..044c9ee 100644 --- a/remoting/client/jingle_host_connection.cc +++ b/remoting/client/jingle_host_connection.cc @@ -117,26 +117,6 @@ void JingleHostConnection::OnStateChange(JingleClient* client, } } -bool JingleHostConnection::OnAcceptConnection( - JingleClient* client, - const std::string& jid, - JingleChannel::Callback** callback) { - DCHECK_EQ(message_loop(), MessageLoop::current()); - - // Client rejects all connection. - return false; -} - -void JingleHostConnection::OnNewConnection( - JingleClient* client, - scoped_refptr<JingleChannel> channel) { - DCHECK_EQ(message_loop(), MessageLoop::current()); - - // TODO(ajwong): Should we log more aggressively on this and above? We - // shouldn't be getting any inbound connections. - NOTREACHED() << "Clients can't accept inbound connections."; -} - void JingleHostConnection::OnNewChromotocolConnection( ChromotingConnection* connection, bool* accept) { DCHECK_EQ(message_loop(), MessageLoop::current()); |