This source file includes following definitions.
- MultiProcessTestIPCSetUp
#include "build/build_config.h"
#include "ipc/ipc_channel.h"
#include "ipc/ipc_multiprocess_test.h"
#if defined(OS_POSIX)
#include "base/posix/global_descriptors.h"
#include "ipc/ipc_descriptors.h"
#endif
namespace internal {
void MultiProcessTestIPCSetUp() {
#if defined(OS_ANDROID)
IPC::Channel::NotifyProcessForkedForTesting();
#endif
#if defined(OS_POSIX)
base::GlobalDescriptors::GetInstance()->Set(kPrimaryIPCChannel,
kPrimaryIPCChannel + base::GlobalDescriptors::kBaseDescriptor);
#endif
}
}