chromium/components/os_crypt/sync/key_storage_util_linux.cc

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

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

// OSCrypt has a setting that determines whether a backend will be used.
// The presense of this file in the file system means that the backend
// should be ignored. It's absence means we should use the backend.
constexpr const char kPreferenceFileName[] =;

bool ReadBackendUse(const base::FilePath& user_data_dir, bool* use) {}

}  // namespace

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) {}

}  // namespace os_crypt