Commit c19269af authored by sergeyu@chromium.org's avatar sergeyu@chromium.org

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
parent 53b6c413
......@@ -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
......@@ -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> {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment