chromium/remoting/host/host_config.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {

// Current values.
const char kHostOwnerConfigPath[] =;
const char kServiceAccountConfigPath[] =;
const char kOAuthRefreshTokenConfigPath[] =;
const char kHostIdConfigPath[] =;
const char kHostNameConfigPath[] =;
const char kHostSecretHashConfigPath[] =;
const char kPrivateKeyConfigPath[] =;
const char kUsageStatsConsentConfigPath[] =;

// Deprecated values.
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) {}

}  // namespace remoting