summaryrefslogtreecommitdiff
path: root/remoting/host/service_urls.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/service_urls.cc')
-rw-r--r--remoting/host/service_urls.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/remoting/host/service_urls.cc b/remoting/host/service_urls.cc
index e73fc2abb6..8d8f083f93 100644
--- a/remoting/host/service_urls.cc
+++ b/remoting/host/service_urls.cc
@@ -7,8 +7,6 @@
#include "base/command_line.h"
#include "base/logging.h"
-namespace {
-
// Configurable service data.
const char kDirectoryBaseUrl[] = "https://www.googleapis.com/chromoting/v1";
const char kXmppServerAddress[] = "talk.google.com:5222";
@@ -16,16 +14,16 @@ const bool kXmppServerUseTls = true;
const char kDirectoryBotJid[] = "remoting@bot.talk.google.com";
// Command line switches.
+#if !defined(NDEBUG)
const char kDirectoryBaseUrlSwitch[] = "directory-base-url";
const char kXmppServerAddressSwitch[] = "xmpp-server-address";
const char kXmppServerDisableTlsSwitch[] = "disable-xmpp-server-tls";
const char kDirectoryBotJidSwitch[] = "directory-bot-jid";
+#endif // !defined(NDEBUG)
// Non-configurable service paths.
const char kDirectoryHostsSuffix[] = "/@me/hosts/";
-} // namespace
-
namespace remoting {
ServiceUrls::ServiceUrls()