#include "components/os_crypt/sync/key_storage_util_linux.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/logging.h"
namespace {
constexpr const char kPreferenceFileName[] = …;
bool ReadBackendUse(const base::FilePath& user_data_dir, bool* use) { … }
}
namespace os_crypt {
SelectedLinuxBackend SelectBackend(const std::string& type,
bool use_backend,
base::nix::DesktopEnvironment desktop_env) { … }
bool WriteBackendUse(const base::FilePath& user_data_dir, bool use) { … }
bool GetBackendUse(const base::FilePath& user_data_dir) { … }
}