summaryrefslogtreecommitdiffstats
path: root/base/base.gyp
diff options
context:
space:
mode:
authorerikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-04 19:57:50 +0000
committererikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-04 19:57:50 +0000
commite8f5ff52f4e74deee58fecd607e59471659c8c3d (patch)
tree1b794c9ffce47d5172a744ae4f201a68248ad62b /base/base.gyp
parented5c5ba492b07e2206ac022e355402d0170d45f8 (diff)
downloadchromium_src-e8f5ff52f4e74deee58fecd607e59471659c8c3d.zip
chromium_src-e8f5ff52f4e74deee58fecd607e59471659c8c3d.tar.gz
chromium_src-e8f5ff52f4e74deee58fecd607e59471659c8c3d.tar.bz2
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
Diffstat (limited to 'base/base.gyp')
-rw-r--r--base/base.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/base.gyp b/base/base.gyp
index ea037758..4225f7e 100644
--- a/base/base.gyp
+++ b/base/base.gyp
@@ -299,6 +299,7 @@
'win/sampling_profiler_unittest.cc',
'win/scoped_bstr_unittest.cc',
'win/scoped_comptr_unittest.cc',
+ 'win/scoped_process_information_unittest.cc',
'win/scoped_variant_unittest.cc',
'win/win_util_unittest.cc',
'win/wrapped_window_proc_unittest.cc',