#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) { … }
}
bool ResolvePath(const base::FilePath& file_path,
base::FilePath* resolved_file_path) { … }
std::optional<base::FilePath> GetProcessExePath(base::ProcessId pid) { … }
std::optional<CrowdStrikeSignals> GetCrowdStrikeSignals() { … }
}