#include "test/multiprocess_exec.h"
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "base/posix/eintr_wrapper.h"
#include "build/build_config.h"
#include "gtest/gtest.h"
#include "test/errors.h"
#include "util/misc/scoped_forbid_return.h"
#include "util/posix/close_multiple.h"
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
#include <stdio_ext.h>
#endif
#if BUILDFLAG(IS_APPLE)
#include "util/mach/task_for_pid.h"
#endif
namespace crashpad {
namespace test {
MultiprocessExec::MultiprocessExec()
: … { … }
void MultiprocessExec::SetChildCommand(
const base::FilePath& command,
const std::vector<std::string>* arguments) { … }
MultiprocessExec::~MultiprocessExec() { … }
void MultiprocessExec::PreFork() { … }
void MultiprocessExec::MultiprocessChild() { … }
ProcessType MultiprocessExec::ChildProcess() { … }
}
}