| Index: base/test/multiprocess_test.h
|
| diff --git a/base/test/multiprocess_test.h b/base/test/multiprocess_test.h
|
| index ab1d0ca4c02698b9466a6d3949b700d9a874d688..21e89512a0cc72206bfa004edb20fc4ee327878c 100644
|
| --- a/base/test/multiprocess_test.h
|
| +++ b/base/test/multiprocess_test.h
|
| @@ -66,6 +66,22 @@ Process SpawnMultiProcessTestChild(
|
| // may add any flags needed for your child process.
|
| CommandLine GetMultiProcessTestChildBaseCommandLine();
|
|
|
| +#if defined(OS_ANDROID)
|
| +
|
| +// Enable the alternate test child implementation which support spawning a child
|
| +// after threads have been created. If used, this MUST be the first line of
|
| +// main(). The main function is passed in to avoid a link-time dependency in
|
| +// component builds.
|
| +void InitAndroidMultiProcessTestHelper(int (*main)(int, char**));
|
| +
|
| +// Wait for a test child to exit if the alternate test child implementation is
|
| +// being used.
|
| +bool AndroidWaitForChildExitWithTimeout(
|
| + const Process& process, TimeDelta timeout, int* exit_code)
|
| + WARN_UNUSED_RESULT;
|
| +
|
| +#endif // defined(OS_ANDROID)
|
| +
|
| // MultiProcessTest ------------------------------------------------------------
|
|
|
| // A MultiProcessTest is a test class which makes it easier to
|
|
|