summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-13 02:34:43 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-13 02:34:43 +0000
commit59fffe5ef6ecaa291f574916f07e412fa90b027b (patch)
treed58df09441d0f343fbad34c43ec8f7f244dff999 /remoting
parent315e7d45e23bc4db2a56b4954b8343ef17676ac5 (diff)
downloadchromium_src-59fffe5ef6ecaa291f574916f07e412fa90b027b.zip
chromium_src-59fffe5ef6ecaa291f574916f07e412fa90b027b.tar.gz
chromium_src-59fffe5ef6ecaa291f574916f07e412fa90b027b.tar.bz2
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
Diffstat (limited to 'remoting')
-rw-r--r--remoting/host/host_config.cc10
-rw-r--r--remoting/host/host_config.h10
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<HostConfig> {