#include "base/process/process_iterator.h"
#include "build/build_config.h"
namespace base {
#if BUILDFLAG(IS_POSIX) || BUILDFLAG(IS_FUCHSIA)
ProcessEntry::ProcessEntry() : … { … }
ProcessEntry::ProcessEntry(const ProcessEntry& other) = default;
ProcessEntry::~ProcessEntry() = default;
#endif
const ProcessEntry* ProcessIterator::NextProcessEntry() { … }
ProcessIterator::ProcessEntries ProcessIterator::Snapshot() { … }
bool ProcessIterator::IncludeEntry() { … }
NamedProcessIterator::NamedProcessIterator(
const FilePath::StringType& executable_name,
const ProcessFilter* filter,
bool use_prefix_match)
: … { … }
NamedProcessIterator::~NamedProcessIterator() = default;
int GetProcessCount(const FilePath::StringType& executable_name,
const ProcessFilter* filter) { … }
}