Index: remoting/host/simple_host.cc |
=================================================================== |
--- remoting/host/simple_host.cc (revision 49299) |
+++ remoting/host/simple_host.cc (working copy) |
@@ -6,7 +6,6 @@ |
#include "base/stl_util-inl.h" |
#include "build/build_config.h" |
-#include "remoting/base/constants.h" |
#include "remoting/base/protocol_decoder.h" |
#include "remoting/host/session_manager.h" |
#include "remoting/jingle_glue/jingle_channel.h" |
@@ -14,14 +13,14 @@ |
namespace remoting { |
SimpleHost::SimpleHost(const std::string& username, |
- const std::string& auth_token, |
+ const std::string& password, |
Capturer* capturer, |
Encoder* encoder, |
EventExecutor* executor) |
: capture_thread_("CaptureThread"), |
encode_thread_("EncodeThread"), |
username_(username), |
- auth_token_(auth_token), |
+ password_(password), |
capturer_(capturer), |
encoder_(encoder), |
executor_(executor) { |
@@ -60,8 +59,7 @@ |
// Connect to the talk network with a JingleClient. |
jingle_client_ = new JingleClient(); |
- jingle_client_->Init(username_, auth_token_, |
- kChromotingTokenServiceName, this); |
+ jingle_client_->Init(username_, password_, this); |
} |
// This method is called if a client is connected to this object. |