diff options
Diffstat (limited to 'remoting/client/jni/chromoting_jni_instance.cc')
-rw-r--r-- | remoting/client/jni/chromoting_jni_instance.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/remoting/client/jni/chromoting_jni_instance.cc b/remoting/client/jni/chromoting_jni_instance.cc index 1af00bc..dd075a8 100644 --- a/remoting/client/jni/chromoting_jni_instance.cc +++ b/remoting/client/jni/chromoting_jni_instance.cc @@ -16,6 +16,7 @@ #include "jingle/glue/thread_wrapper.h" #include "net/socket/client_socket_factory.h" #include "remoting/base/chromium_url_request.h" +#include "remoting/base/service_urls.h" #include "remoting/client/audio_player.h" #include "remoting/client/client_status_logger.h" #include "remoting/client/jni/android_keymap.h" @@ -41,8 +42,6 @@ const char* const kXmppServer = "talk.google.com"; const int kXmppPort = 5222; const bool kXmppUseTls = true; -const char kDirectoryBotJid[] = "remoting@bot.talk.google.com"; - // Interval at which to log performance statistics, if enabled. const int kPerfStatsIntervalMs = 60000; @@ -396,8 +395,9 @@ void ChromotingJniInstance::ConnectToHostOnNetworkThread() { new XmppSignalStrategy(net::ClientSocketFactory::GetDefaultFactory(), jni_runtime_->url_requester(), xmpp_config_)); - client_status_logger_.reset(new ClientStatusLogger( - ServerLogEntry::ME2ME, signaling_.get(), kDirectoryBotJid)); + client_status_logger_.reset( + new ClientStatusLogger(ServerLogEntry::ME2ME, signaling_.get(), + ServiceUrls::GetInstance()->directory_bot_jid())); scoped_refptr<protocol::TransportContext> transport_context = new protocol::TransportContext( |