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

Side by Side Diff: ipc/ipc_perftests.cc

Issue 11858023: More IPC test header cleanup. (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
« 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
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 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #elif defined(OS_POSIX) 9 #elif defined(OS_POSIX)
10 #include <sys/types.h> 10 #include <sys/types.h>
(...skipping 11 matching lines...) Expand all
22 #include "base/stringprintf.h" 22 #include "base/stringprintf.h"
23 #include "base/threading/thread.h" 23 #include "base/threading/thread.h"
24 #include "base/time.h" 24 #include "base/time.h"
25 #include "ipc/ipc_descriptors.h" 25 #include "ipc/ipc_descriptors.h"
26 #include "ipc/ipc_channel.h" 26 #include "ipc/ipc_channel.h"
27 #include "ipc/ipc_channel_proxy.h" 27 #include "ipc/ipc_channel_proxy.h"
28 #include "ipc/ipc_message_utils.h" 28 #include "ipc/ipc_message_utils.h"
29 #include "ipc/ipc_multiprocess_test.h" 29 #include "ipc/ipc_multiprocess_test.h"
30 #include "ipc/ipc_sender.h" 30 #include "ipc/ipc_sender.h"
31 #include "ipc/ipc_test_base.h" 31 #include "ipc/ipc_test_base.h"
32 #include "testing/multiprocess_func_list.h"
33 32
34 namespace { 33 namespace {
35 34
36 // This test times the roundtrip IPC message cycle. 35 // This test times the roundtrip IPC message cycle.
37 // 36 //
38 // TODO(brettw): Make this test run by default. 37 // TODO(brettw): Make this test run by default.
39 38
40 class IPCChannelPerfTest : public IPCTestBase { 39 class IPCChannelPerfTest : public IPCTestBase {
41 }; 40 };
42 41
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 IPC::Channel chan(kReflectorChannel, IPC::Channel::MODE_CLIENT, NULL); 264 IPC::Channel chan(kReflectorChannel, IPC::Channel::MODE_CLIENT, NULL);
266 ChannelReflectorListener channel_reflector_listener(&chan); 265 ChannelReflectorListener channel_reflector_listener(&chan);
267 chan.set_listener(&channel_reflector_listener); 266 chan.set_listener(&channel_reflector_listener);
268 CHECK(chan.Connect()); 267 CHECK(chan.Connect());
269 268
270 MessageLoop::current()->Run(); 269 MessageLoop::current()->Run();
271 return 0; 270 return 0;
272 } 271 }
273 272
274 } // namespace 273 } // namespace
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