Kill all chrome processes on linux when shutting down the ProxyLauncher.

The startup performance_ui_tests have been hanging on the perf bots since they
were upgraded to Precise. The hang is due to the performance_ui_tests binary not
killing all of its child chrome processes which is due to bug 177218. When that
happens, the buildbot step hangs until timeout waiting for the process group to
end.

The suggested workaround for the bug is to disable tcmalloc, which works, but is
undesireable to do on the perf bots. So this patch works around the subprocess
hang by always kill()ing all chrome processes on linux.

BUG=235893
TEST=performance_ui_tests --gtest_filter=ShutdownTest.*

Review URL: https://chromiumcodereview.appspot.com/14707006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198045 0039d316-1c4b-4281-b951-d872f2087c98
5 files changed