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