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

Side by Side Diff: ipc/ipc_tests.cc

Issue 6028009: Move base/thread.h to base/threading, fix up callers to use the new location.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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_sync_channel_unittest.cc ('k') | jingle/notifier/listener/mediator_thread_impl.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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>
11 #include <unistd.h> 11 #include <unistd.h>
12 #endif 12 #endif
13 13
14 #include <stdio.h> 14 #include <stdio.h>
15 #include <string> 15 #include <string>
16 #include <utility> 16 #include <utility>
17 17
18 #include "ipc/ipc_tests.h" 18 #include "ipc/ipc_tests.h"
19 19
20 #include "base/base_switches.h" 20 #include "base/base_switches.h"
21 #include "base/command_line.h" 21 #include "base/command_line.h"
22 #include "base/debug_on_start.h" 22 #include "base/debug_on_start.h"
23 #include "base/perftimer.h" 23 #include "base/perftimer.h"
24 #include "base/test/perf_test_suite.h" 24 #include "base/test/perf_test_suite.h"
25 #include "base/test/test_suite.h" 25 #include "base/test/test_suite.h"
26 #include "base/thread.h" 26 #include "base/threading/thread.h"
27 #include "ipc/ipc_descriptors.h" 27 #include "ipc/ipc_descriptors.h"
28 #include "ipc/ipc_channel.h" 28 #include "ipc/ipc_channel.h"
29 #include "ipc/ipc_channel_proxy.h" 29 #include "ipc/ipc_channel_proxy.h"
30 #include "ipc/ipc_message_utils.h" 30 #include "ipc/ipc_message_utils.h"
31 #include "ipc/ipc_switches.h" 31 #include "ipc/ipc_switches.h"
32 #include "testing/multiprocess_func_list.h" 32 #include "testing/multiprocess_func_list.h"
33 33
34 // Define to enable IPC performance testing instead of the regular unit tests 34 // Define to enable IPC performance testing instead of the regular unit tests
35 // #define PERFORMANCE_TEST 35 // #define PERFORMANCE_TEST
36 36
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 #endif // PERFORMANCE_TEST 537 #endif // PERFORMANCE_TEST
538 538
539 int main(int argc, char** argv) { 539 int main(int argc, char** argv) {
540 #ifdef PERFORMANCE_TEST 540 #ifdef PERFORMANCE_TEST
541 int retval = base::PerfTestSuite(argc, argv).Run(); 541 int retval = base::PerfTestSuite(argc, argv).Run();
542 #else 542 #else
543 int retval = base::TestSuite(argc, argv).Run(); 543 int retval = base::TestSuite(argc, argv).Run();
544 #endif 544 #endif
545 return retval; 545 return retval;
546 } 546 }
OLDNEW
« no previous file with comments | « ipc/ipc_sync_channel_unittest.cc ('k') | jingle/notifier/listener/mediator_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698