#include "base/test/multiprocess_test.h"
#include "base/base_switches.h"
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/threading/thread_restrictions.h"
#include "build/build_config.h"
namespace base {
#if !BUILDFLAG(IS_ANDROID)
Process SpawnMultiProcessTestChild(const std::string& procname,
const CommandLine& base_command_line,
const LaunchOptions& options) { … }
bool WaitForMultiprocessTestChildExit(const Process& process,
TimeDelta timeout,
int* exit_code) { … }
bool TerminateMultiProcessTestChild(const Process& process,
int exit_code,
bool wait) { … }
#endif
CommandLine GetMultiProcessTestChildBaseCommandLine() { … }
MultiProcessTest::MultiProcessTest() = default;
Process MultiProcessTest::SpawnChild(const std::string& procname) { … }
Process MultiProcessTest::SpawnChildWithOptions(const std::string& procname,
const LaunchOptions& options) { … }
CommandLine MultiProcessTest::MakeCmdLine(const std::string& procname) { … }
}