diff options
-rw-r--r-- | remoting/host/host_config.cc | 10 | ||||
-rw-r--r-- | 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 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> { |