Index: remoting/host/service_urls.cc |
diff --git a/remoting/host/service_urls.cc b/remoting/host/service_urls.cc |
index e73fc2abb691c925397ec25b361ba9b74d034446..8d8f083f93bc2a34d4b6cae445ed139c45af8f35 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() |