1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "build/build_config.h" 6 7 #include "ipc/ipc_multiprocess_test.h" 8 9 #if defined(OS_POSIX) 10 #include "base/posix/global_descriptors.h" 11 #include "ipc/ipc_descriptors.h" 12 #endif 13 14 namespace internal { 15 16 void MultiProcessTestIPCSetUp() { 17 #if defined(OS_POSIX) 18 base::GlobalDescriptors::GetInstance()->Set(kPrimaryIPCChannel, 19 kPrimaryIPCChannel + base::GlobalDescriptors::kBaseDescriptor); 20 #endif 21 } 22 23 } // namespace internal 24