Index: remoting/protocol/connection_to_host.cc |
diff --git a/remoting/protocol/connection_to_host.cc b/remoting/protocol/connection_to_host.cc |
index f4a82f30cff2ea8f12f3bcc67264e3d93e2de50b..c86370ebb49613ea87b801fd7b8e0422da59c6de 100644 |
--- a/remoting/protocol/connection_to_host.cc |
+++ b/remoting/protocol/connection_to_host.cc |
@@ -55,6 +55,7 @@ MessageLoop* ConnectionToHost::message_loop() { |
void ConnectionToHost::Connect(const std::string& username, |
const std::string& auth_token, |
+ const std::string& auth_service, |
const std::string& host_jid, |
const std::string& access_code, |
HostEventCallback* event_callback, |
@@ -67,8 +68,7 @@ void ConnectionToHost::Connect(const std::string& username, |
// Initialize |jingle_client_|. |
signal_strategy_.reset( |
- new XmppSignalStrategy(thread_, username, auth_token, |
- kChromotingTokenServiceName)); |
+ new XmppSignalStrategy(thread_, username, auth_token, auth_service)); |
jingle_client_ = |
new JingleClient(thread_, signal_strategy_.get(), |
network_manager_.release(), socket_factory_.release(), |