commit | e8f5ff52f4e74deee58fecd607e59471659c8c3d | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Apr 04 19:57:50 2012 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Apr 04 19:57:50 2012 |
tree | 1b794c9ffce47d5172a744ae4f201a68248ad62b | |
parent | ed5c5ba492b07e2206ac022e355402d0170d45f8 [diff] |
ScopedProcessInformation protects against process/thread handle leaks from CreateProcess calls. This CL includes the definition of the class along with changes to clients of CreateProcess. Please see http://codereview.chromium.org/9959018/ for the most substantial usages I propose introducing. This was motivated by realizing that my previous fix to LaunchProcess actually still had a leak of the thread handle. BUG=None TEST=tests added in base_unittests Review URL: https://chromiumcodereview.appspot.com/9700038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130710 0039d316-1c4b-4281-b951-d872f2087c98