#include "remoting/host/host_config.h"
#include "base/files/file_util.h"
#include "base/files/important_file_writer.h"
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "base/values.h"
namespace remoting {
const char kHostOwnerConfigPath[] = …;
const char kServiceAccountConfigPath[] = …;
const char kOAuthRefreshTokenConfigPath[] = …;
const char kHostIdConfigPath[] = …;
const char kHostNameConfigPath[] = …;
const char kHostSecretHashConfigPath[] = …;
const char kPrivateKeyConfigPath[] = …;
const char kUsageStatsConsentConfigPath[] = …;
const char kDeprecatedHostOwnerEmailConfigPath[] = …;
const char kDeprecatedXmppLoginConfigPath[] = …;
std::optional<base::Value::Dict> HostConfigFromJson(const std::string& json) { … }
std::string HostConfigToJson(const base::Value::Dict& host_config) { … }
std::optional<base::Value::Dict> HostConfigFromJsonFile(
const base::FilePath& config_file) { … }
bool HostConfigToJsonFile(const base::Value::Dict& host_config,
const base::FilePath& config_file) { … }
}