Index: base/test/test_launcher.h |
diff --git a/base/test/test_launcher.h b/base/test/test_launcher.h |
index 603179c1f0035da0ac515a3ec900859f1a801aa3..30d2829c535fe85e31611d6ef7be199e9dad5cb2 100644 |
--- a/base/test/test_launcher.h |
+++ b/base/test/test_launcher.h |
@@ -72,7 +72,12 @@ class TestLauncherDelegate { |
virtual ~TestLauncherDelegate(); |
}; |
+// Launches a child process (assumed to be gtest-based binary) |
+// using |command_line|. If |wrapper| is not empty, it is prepended |
+// to the final command line. If the child process is still running |
+// after |timeout|, it is terminated and |*was_timeout| is set to true. |
int LaunchChildGTestProcess(const CommandLine& command_line, |
+ const std::string& wrapper, |
base::TimeDelta timeout, |
bool* was_timeout); |