summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--remoting/base/constants.cc4
-rw-r--r--remoting/base/constants.h12
2 files changed, 7 insertions, 9 deletions
diff --git a/remoting/base/constants.cc b/remoting/base/constants.cc
index 0255200..0449dc5 100644
--- a/remoting/base/constants.cc
+++ b/remoting/base/constants.cc
@@ -6,9 +6,9 @@
namespace remoting {
-const std::string kChromotingBotJid("remoting@bot.talk.google.com");
+const char kChromotingBotJid[] = "remoting@bot.talk.google.com";
// TODO(sergeyu): Use chromoting's own service name here instead of sync.
-const std::string kChromotingTokenServiceName("chromiumsync");
+const char kChromotingTokenServiceName[] = "chromiumsync";
} // namespace remoting
diff --git a/remoting/base/constants.h b/remoting/base/constants.h
index 6c2bb17..d124172 100644
--- a/remoting/base/constants.h
+++ b/remoting/base/constants.h
@@ -2,18 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef REMOTING_BASE_CONSTANTS_H
-#define REMOTING_BASE_CONSTANTS_H
-
-#include <string>
+#ifndef REMOTING_BASE_CONSTANTS_H_
+#define REMOTING_BASE_CONSTANTS_H_
namespace remoting {
-extern const std::string kChromotingBotJid;
+extern const char kChromotingBotJid[];
// Service name used for authentication.
-extern const std::string kChromotingTokenServiceName;
+extern const char kChromotingTokenServiceName[];
} // namespace remoting
-#endif // REMOTING_BASE_CONSTANTS_H
+#endif // REMOTING_BASE_CONSTANTS_H_