| Index: remoting/client/host_connection.cc
|
| diff --git a/remoting/client/host_connection.cc b/remoting/client/host_connection.cc
|
| index f858af634b9f5044b3e1b2b74c9c4fb23ffebbd4..00c542e64717619585e275dcc36e8ef182c9cd63 100644
|
| --- a/remoting/client/host_connection.cc
|
| +++ b/remoting/client/host_connection.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "remoting/client/host_connection.h"
|
|
|
| +#include "remoting/base/constants.h"
|
| +
|
| namespace remoting {
|
|
|
| HostConnection::HostConnection(ProtocolDecoder* decoder,
|
| @@ -16,10 +18,10 @@ HostConnection::~HostConnection() {
|
| }
|
|
|
| void HostConnection::Connect(const std::string& username,
|
| - const std::string& password,
|
| + const std::string& auth_token,
|
| const std::string& host_jid) {
|
| jingle_client_ = new JingleClient();
|
| - jingle_client_->Init(username, password, this);
|
| + jingle_client_->Init(username, auth_token, kChromotingTokenServiceName, this);
|
| jingle_channel_ = jingle_client_->Connect(host_jid, this);
|
| }
|
|
|
|
|