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

Unified Diff: ipc/ipc_test_base.cc

Issue 11858018: Trim #includes in ipc tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged ToT 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ipc/ipc_perftests.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_test_base.cc
diff --git a/ipc/ipc_test_base.cc b/ipc/ipc_test_base.cc
index 2d68a765b8c1f5c6582ec2b155e14a2301b7c761..7c4fc5a2d83d9f2edf5c56112332b87f4a3c55f2 100644
--- a/ipc/ipc_test_base.cc
+++ b/ipc/ipc_test_base.cc
@@ -11,19 +11,12 @@
#include <unistd.h>
#endif
-#include <stdio.h>
-#include <string>
#include <utility>
#include "ipc/ipc_test_base.h"
-#include "base/base_switches.h"
#include "base/command_line.h"
#include "base/debug/debug_on_start_win.h"
-#include "base/perftimer.h"
-#include "base/pickle.h"
-#include "base/test/perf_test_suite.h"
-#include "base/test/test_suite.h"
#include "base/threading/thread.h"
#include "base/time.h"
#include "ipc/ipc_descriptors.h"
@@ -35,9 +28,6 @@
#include "ipc/ipc_switches.h"
#include "testing/multiprocess_func_list.h"
-// Define to enable IPC performance testing instead of the regular unit tests
-// #define PERFORMANCE_TEST
-
const char kTestClientChannel[] = "T1";
const char kReflectorChannel[] = "T2";
const char kFuzzerChannel[] = "F3";
@@ -59,7 +49,7 @@ void IPCTestBase::TearDown() {
#if defined(OS_WIN)
base::ProcessHandle IPCTestBase::SpawnChild(IPCTestBase::ChildType child_type,
- IPC::Channel *channel) {
+ IPC::Channel* channel) {
// kDebugChildren support.
bool debug_on_start =
CommandLine::ForCurrentProcess()->HasSwitch(switches::kDebugChildren);
@@ -79,7 +69,7 @@ base::ProcessHandle IPCTestBase::SpawnChild(IPCTestBase::ChildType child_type,
}
#elif defined(OS_POSIX)
base::ProcessHandle IPCTestBase::SpawnChild(IPCTestBase::ChildType child_type,
- IPC::Channel *channel) {
+ IPC::Channel* channel) {
// kDebugChildren support.
bool debug_on_start =
CommandLine::ForCurrentProcess()->HasSwitch(switches::kDebugChildren);
« no previous file with comments | « ipc/ipc_perftests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698