#include "components/device_signals/core/system_signals/file_system_service.h"
#include <memory>
#include <utility>
#include "base/check.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "components/device_signals/core/common/common_types.h"
#include "components/device_signals/core/system_signals/executable_metadata_service.h"
#include "components/device_signals/core/system_signals/hashing_utils.h"
#include "components/device_signals/core/system_signals/platform_delegate.h"
namespace device_signals {
namespace {
std::vector<FileSystemItem> GetAllItems(
const FilePathMap<std::vector<FileSystemItem>>& map) { … }
}
class FileSystemServiceImpl : public FileSystemService { … };
std::unique_ptr<FileSystemService> FileSystemService::Create(
std::unique_ptr<PlatformDelegate> delegate,
std::unique_ptr<ExecutableMetadataService> executable_metadata_service) { … }
FileSystemServiceImpl::FileSystemServiceImpl(
std::unique_ptr<PlatformDelegate> delegate,
std::unique_ptr<ExecutableMetadataService> executable_metadata_service)
: … { … }
FileSystemServiceImpl::~FileSystemServiceImpl() = default;
std::vector<FileSystemItem> FileSystemServiceImpl::GetSignals(
const std::vector<GetFileSystemInfoOptions>& options) { … }
PresenceValue FileSystemServiceImpl::ResolveFileSystemItem(
const base::FilePath& original_file_path,
base::FilePath* resolved_file_path) const { … }
}