Index: chrome/common/process_watcher_unittest.cc |
=================================================================== |
--- chrome/common/process_watcher_unittest.cc (revision 55077) |
+++ chrome/common/process_watcher_unittest.cc (working copy) |
@@ -8,11 +8,12 @@ |
#include <sys/wait.h> |
#include "base/eintr_wrapper.h" |
-#include "base/multiprocess_test.h" |
#include "base/process_util.h" |
+#include "base/test/multiprocess_test.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#include "testing/multiprocess_func_list.h" |
-class ProcessWatcherTest : public MultiProcessTest { |
+class ProcessWatcherTest : public base::MultiProcessTest { |
}; |
namespace { |
@@ -29,7 +30,7 @@ |
TEST_F(ProcessWatcherTest, DelayedTermination) { |
base::ProcessHandle child_process = |
- SpawnChild("process_watcher_test_never_die"); |
+ SpawnChild("process_watcher_test_never_die", false); |
ProcessWatcher::EnsureProcessTerminated(child_process); |
base::WaitForSingleProcess(child_process, 5000); |
@@ -47,7 +48,7 @@ |
TEST_F(ProcessWatcherTest, ImmediateTermination) { |
base::ProcessHandle child_process = |
- SpawnChild("process_watcher_test_die_immediately"); |
+ SpawnChild("process_watcher_test_die_immediately", false); |
// Give it time to die. |
sleep(2); |
ProcessWatcher::EnsureProcessTerminated(child_process); |