summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 20:22:49 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 20:22:49 +0000
commitc19269afdfa949b11b25349b44920ba88dc9ea74 (patch)
treeb89fb58d61d1052314f5632f98ea525f07326361 /remoting
parent53b6c4131d469528af32c8a9f34084c22a3140b2 (diff)
downloadchromium_src-c19269afdfa949b11b25349b44920ba88dc9ea74.zip
chromium_src-c19269afdfa949b11b25349b44920ba88dc9ea74.tar.gz
chromium_src-c19269afdfa949b11b25349b44920ba88dc9ea74.tar.bz2
Replaced static wstring with wchar_t*.
BUG=None TEST=compiles Review URL: http://codereview.chromium.org/2908011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54007 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 9195bbe..b77ecd5 100644
--- a/remoting/host/host_config.cc
+++ b/remoting/host/host_config.cc
@@ -6,10 +6,10 @@
namespace remoting {
-const std::wstring kXmppLoginConfigPath(L"xmpp_login");
-const std::wstring kXmppAuthTokenConfigPath(L"xmpp_auth_token");
-const std::wstring kHostIdConfigPath(L"host_id");
-const std::wstring kHostNameConfigPath(L"host_name");
-const std::wstring kPrivateKeyConfigPath(L"private_key");
+const wchar_t* kXmppLoginConfigPath = L"xmpp_login";
+const wchar_t* kXmppAuthTokenConfigPath = L"xmpp_auth_token";
+const wchar_t* kHostIdConfigPath = L"host_id";
+const wchar_t* kHostNameConfigPath = L"host_name";
+const wchar_t* kPrivateKeyConfigPath = L"private_key";
} // namespace remoting
diff --git a/remoting/host/host_config.h b/remoting/host/host_config.h
index b2c6565..7c92649d 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 std::wstring kXmppLoginConfigPath;
+extern const wchar_t* kXmppLoginConfigPath;
// Auth token used to authenticate in XMPP network.
-extern const std::wstring kXmppAuthTokenConfigPath;
+extern const wchar_t* kXmppAuthTokenConfigPath;
// Unique identifier of the host used to register the host in directory.
// Normally a random UUID.
-extern const std::wstring kHostIdConfigPath;
+extern const wchar_t* kHostIdConfigPath;
// Readable host name.
-extern const std::wstring kHostNameConfigPath;
+extern const wchar_t* kHostNameConfigPath;
// Private keys used for host authentication.
-extern const std::wstring kPrivateKeyConfigPath;
+extern const wchar_t* kPrivateKeyConfigPath;
// HostConfig interace provides read-only access to host configuration.
class HostConfig : public base::RefCountedThreadSafe<HostConfig> {