GTTF: launch test processes using job objects on Windows.

This helps ensure proper termination of child processes when the launcher
gets killed.

BUG=236893
[email protected], [email protected]

Review URL: https://codereview.chromium.org/23480061

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223125 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/base/process/launch.h b/base/process/launch.h
index 944c1bc..ac2df5e 100644
--- a/base/process/launch.h
+++ b/base/process/launch.h
@@ -164,12 +164,9 @@
 #endif  // defined(OS_POSIX)
 
 #if defined(OS_WIN)
-// Set JOBOBJECT_EXTENDED_LIMIT_INFORMATION to JobObject |job_object|.
-// As its limit_info.BasicLimitInformation.LimitFlags has
-// JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE.
-// When the provide JobObject |job_object| is closed, the binded process will
-// be terminated.
-BASE_EXPORT bool SetJobObjectAsKillOnJobClose(HANDLE job_object);
+// Set |job_object|'s JOBOBJECT_EXTENDED_LIMIT_INFORMATION
+// BasicLimitInformation.LimitFlags to |limit_flags|.
+BASE_EXPORT bool SetJobObjectLimitFlags(HANDLE job_object, DWORD limit_flags);
 
 // Output multi-process printf, cout, cerr, etc to the cmd.exe console that ran
 // chrome. This is not thread-safe: only call from main thread.