chromium/components/device_signals/core/common/posix/platform_utils_posix.cc

// Copyright 2022 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/device_signals/core/common/platform_utils.h"

#include "base/containers/flat_set.h"
#include "base/environment.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/strings/stringprintf.h"
#include "components/device_signals/core/common/common_types.h"

namespace device_signals {

namespace {

constexpr base::FilePath::CharType kTilde =;
constexpr base::FilePath::CharType kEnvVariablePrefix =;

bool StringStartsWith(const base::FilePath::StringType& path_string,
                      const base::FilePath::CharType character) {}

bool PathStartsWith(const base::FilePath& file_path,
                    const base::FilePath::CharType character) {}

base::FilePath CreatePathFromComponents(
    const std::vector<base::FilePath::StringType>& components) {}

}  // namespace

bool ResolvePath(const base::FilePath& file_path,
                 base::FilePath* resolved_file_path) {}

std::optional<base::FilePath> GetProcessExePath(base::ProcessId pid) {}

std::optional<CrowdStrikeSignals> GetCrowdStrikeSignals() {}

}  // namespace device_signals