#ifndef REMOTING_HOST_JSON_HOST_CONFIG_H_
#define REMOTING_HOST_JSON_HOST_CONFIG_H_
#include <string>
#include "base/files/file_path.h"
#include "remoting/host/in_memory_host_config.h"
namespace base {
class MessageLoopProxy;
}
namespace remoting {
class JsonHostConfig : public InMemoryHostConfig {
public:
JsonHostConfig(const base::FilePath& filename);
virtual ~JsonHostConfig();
virtual bool Read();
virtual bool Save() OVERRIDE;
std::string GetSerializedData();
bool SetSerializedData(const std::string& config);
private:
base::FilePath filename_;
DISALLOW_COPY_AND_ASSIGN(JsonHostConfig);
};
}
#endif