summaryrefslogtreecommitdiffstats
path: root/remoting/host/host_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/host_config.h')
-rw-r--r--remoting/host/host_config.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/remoting/host/host_config.h b/remoting/host/host_config.h
index 7c92649d..22ef533 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 wchar_t* kXmppLoginConfigPath;
+extern const char* kXmppLoginConfigPath;
// Auth token used to authenticate in XMPP network.
-extern const wchar_t* kXmppAuthTokenConfigPath;
+extern const char* kXmppAuthTokenConfigPath;
// Unique identifier of the host used to register the host in directory.
// Normally a random UUID.
-extern const wchar_t* kHostIdConfigPath;
+extern const char* kHostIdConfigPath;
// Readable host name.
-extern const wchar_t* kHostNameConfigPath;
+extern const char* kHostNameConfigPath;
// Private keys used for host authentication.
-extern const wchar_t* kPrivateKeyConfigPath;
+extern const char* kPrivateKeyConfigPath;
// HostConfig interace provides read-only access to host configuration.
class HostConfig : public base::RefCountedThreadSafe<HostConfig> {
@@ -33,10 +33,7 @@ class HostConfig : public base::RefCountedThreadSafe<HostConfig> {
HostConfig() { };
virtual ~HostConfig() { }
- virtual bool GetString(const std::wstring& path,
- std::wstring* out_value) = 0;
- virtual bool GetString(const std::wstring& path,
- std::string* out_value) = 0;
+ virtual bool GetString(const std::string& path, std::string* out_value) = 0;
DISALLOW_COPY_AND_ASSIGN(HostConfig);
};
@@ -53,9 +50,7 @@ class MutableHostConfig : public HostConfig {
// SetString() updates specified config value. This methods must only
// be called from task specified in Update().
- virtual void SetString(const std::wstring& path,
- const std::wstring& in_value) = 0;
- virtual void SetString(const std::wstring& path,
+ virtual void SetString(const std::string& path,
const std::string& in_value) = 0;
DISALLOW_COPY_AND_ASSIGN(MutableHostConfig);