Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: ipc/ipc_multiprocess_test.cc

Issue 10387218: Make GlobalDescriptors::MaybeGet return -1 when the key is not found. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing NaCl tests. Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ipc/ipc_multiprocess_test.h ('k') | ipc/ipc_send_fds_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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/global_descriptors_posix.h"
11 #include "ipc/ipc_descriptors.h"
12 #endif
13
14 void MultiProcessTestIPCSetUp() {
15 #if defined(OS_POSIX)
16 base::GlobalDescriptors::GetInstance()->Set(kPrimaryIPCChannel,
17 kPrimaryIPCChannel + base::GlobalDescriptors::kBaseDescriptor);
18 #endif
19 }
OLDNEW
« no previous file with comments | « ipc/ipc_multiprocess_test.h ('k') | ipc/ipc_send_fds_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698