diff options
author | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-19 04:22:28 +0000 |
---|---|---|
committer | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-19 04:22:28 +0000 |
commit | e00d39192ccc3713059caef9bdb7cf74d902f7df (patch) | |
tree | 946a5d20463ca2614f4e3d778e31940f32ce609f /base/base.gyp | |
parent | 6c56c9962a3eae73f46297c7c220264d23a5004d (diff) | |
download | chromium_src-e00d39192ccc3713059caef9bdb7cf74d902f7df.zip chromium_src-e00d39192ccc3713059caef9bdb7cf74d902f7df.tar.gz chromium_src-e00d39192ccc3713059caef9bdb7cf74d902f7df.tar.bz2 |
ScopedVariant implementation.
A class for automatically freeing a COM VARIANT at the
end of a scope. Additionally provides a few functions to
make the encapsulated VARIANT easier to use.
Instead of inheriting from VARIANT, I took the containment
approach in order to have more control over the usage of the
variant and guard against memory leaks.
Review URL: http://codereview.chromium.org/46059
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12081 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gyp')
-rw-r--r-- | base/base.gyp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/base.gyp b/base/base.gyp index e805b27..6da4c2e 100644 --- a/base/base.gyp +++ b/base/base.gyp @@ -203,6 +203,8 @@ 'scoped_ptr.h', 'scoped_temp_dir.cc', 'scoped_temp_dir.h', + 'scoped_variant_win.cc', + 'scoped_variant_win.h', 'sha2.cc', 'sha2.h', 'shared_memory.h', @@ -488,6 +490,7 @@ 'scoped_comptr_win_unittest.cc', 'scoped_ptr_unittest.cc', 'scoped_temp_dir_unittest.cc', + 'scoped_variant_win_unittest.cc', 'sha2_unittest.cc', 'shared_memory_unittest.cc', 'simple_thread_unittest.cc', @@ -562,6 +565,7 @@ 'pe_image_unittest.cc', 'scoped_bstr_win_unittest.cc', 'scoped_comptr_win_unittest.cc', + 'scoped_variant_win_unittest.cc', 'system_monitor_unittest.cc', 'time_win_unittest.cc', 'win_util_unittest.cc', |