From 59fffe5ef6ecaa291f574916f07e412fa90b027b Mon Sep 17 00:00:00 2001 From: "sergeyu@chromium.org" Date: Fri, 13 Aug 2010 02:34:43 +0000 Subject: Replaced char* with to char[]. TEST=compiles BUG=None Review URL: http://codereview.chromium.org/3036044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55978 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/host/host_config.cc | 10 +++++----- remoting/host/host_config.h | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/remoting/host/host_config.cc b/remoting/host/host_config.cc index cfebfeb..a05600d 100644 --- a/remoting/host/host_config.cc +++ b/remoting/host/host_config.cc @@ -6,10 +6,10 @@ namespace remoting { -const char* kXmppLoginConfigPath = "xmpp_login"; -const char* kXmppAuthTokenConfigPath = "xmpp_auth_token"; -const char* kHostIdConfigPath = "host_id"; -const char* kHostNameConfigPath = "host_name"; -const char* kPrivateKeyConfigPath = "private_key"; +const char kXmppLoginConfigPath[] = "xmpp_login"; +const char kXmppAuthTokenConfigPath[] = "xmpp_auth_token"; +const char kHostIdConfigPath[] = "host_id"; +const char kHostNameConfigPath[] = "host_name"; +const char kPrivateKeyConfigPath[] = "private_key"; } // namespace remoting diff --git a/remoting/host/host_config.h b/remoting/host/host_config.h index 22ef533..f0912bc 100644 --- a/remoting/host/host_config.h +++ b/remoting/host/host_config.h @@ -16,16 +16,16 @@ namespace remoting { // Following constants define names for configuration parameters. // Login used to authenticate in XMPP network. -extern const char* kXmppLoginConfigPath; +extern const char kXmppLoginConfigPath[]; // Auth token used to authenticate in XMPP network. -extern const char* kXmppAuthTokenConfigPath; +extern const char kXmppAuthTokenConfigPath[]; // Unique identifier of the host used to register the host in directory. // Normally a random UUID. -extern const char* kHostIdConfigPath; +extern const char kHostIdConfigPath[]; // Readable host name. -extern const char* kHostNameConfigPath; +extern const char kHostNameConfigPath[]; // Private keys used for host authentication. -extern const char* kPrivateKeyConfigPath; +extern const char kPrivateKeyConfigPath[]; // HostConfig interace provides read-only access to host configuration. class HostConfig : public base::RefCountedThreadSafe { -- cgit v1.1