blob: b13ed7ba82d7a5ce5557f6d44fbb4659e69c7478 [file] [log] [blame]
jcivelli@chromium.orgc30c76f2012-06-27 10:12:24 +09001// 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)
brettw@chromium.orgea3b3f22012-11-10 08:46:54 +090010#include "base/posix/global_descriptors.h"
jcivelli@chromium.orgc30c76f2012-06-27 10:12:24 +090011#include "ipc/ipc_descriptors.h"
12#endif
13
14void MultiProcessTestIPCSetUp() {
15#if defined(OS_POSIX)
16 base::GlobalDescriptors::GetInstance()->Set(kPrimaryIPCChannel,
17 kPrimaryIPCChannel + base::GlobalDescriptors::kBaseDescriptor);
18#endif
19}