Index: remoting/client/host_connection.cc |
=================================================================== |
--- remoting/client/host_connection.cc (revision 49299) |
+++ remoting/client/host_connection.cc (working copy) |
@@ -4,8 +4,6 @@ |
#include "remoting/client/host_connection.h" |
-#include "remoting/base/constants.h" |
- |
namespace remoting { |
HostConnection::HostConnection(ProtocolDecoder* decoder, |
@@ -18,10 +16,10 @@ |
} |
void HostConnection::Connect(const std::string& username, |
- const std::string& auth_token, |
+ const std::string& password, |
const std::string& host_jid) { |
jingle_client_ = new JingleClient(); |
- jingle_client_->Init(username, auth_token, kChromotingTokenServiceName, this); |
+ jingle_client_->Init(username, password, this); |
jingle_channel_ = jingle_client_->Connect(host_jid, this); |
} |