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

Side by Side Diff: ipc/ipc_send_fds_test.cc

Issue 11819041: Make ipc_tests file structure a little saner and add an ipc_perftests target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
OLDNEW
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_tests.h" 7 #include "ipc/ipc_channel_unittest.h"
8 8
9 #if defined(OS_MACOSX) 9 #if defined(OS_MACOSX)
10 extern "C" { 10 extern "C" {
11 #include <sandbox.h> 11 #include <sandbox.h>
12 } 12 }
13 #endif 13 #endif
14 #include <fcntl.h> 14 #include <fcntl.h>
15 #include <sys/stat.h> 15 #include <sys/stat.h>
16 16
17 #include "base/message_loop.h" 17 #include "base/message_loop.h"
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 IPC::Channel chan(kTestClientChannel, IPC::Channel::MODE_SERVER, 196 IPC::Channel chan(kTestClientChannel, IPC::Channel::MODE_SERVER,
197 &listener); 197 &listener);
198 ASSERT_TRUE(chan.Connect()); 198 ASSERT_TRUE(chan.Connect());
199 199
200 base::ProcessHandle process_handle = SpawnChild(TEST_DESCRIPTOR_CLIENT, 200 base::ProcessHandle process_handle = SpawnChild(TEST_DESCRIPTOR_CLIENT,
201 &chan); 201 &chan);
202 TestDescriptorServer(chan, process_handle); 202 TestDescriptorServer(chan, process_handle);
203 } 203 }
204 204
205 #endif // defined(OS_POSIX) 205 #endif // defined(OS_POSIX)
OLDNEW
« ipc/ipc_channel_unittest.h ('K') | « ipc/ipc_perftests.cc ('k') | ipc/ipc_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698