summaryrefslogtreecommitdiffstats
path: root/base/build
diff options
context:
space:
mode:
authortommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-19 04:22:28 +0000
committertommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-19 04:22:28 +0000
commite00d39192ccc3713059caef9bdb7cf74d902f7df (patch)
tree946a5d20463ca2614f4e3d778e31940f32ce609f /base/build
parent6c56c9962a3eae73f46297c7c220264d23a5004d (diff)
downloadchromium_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/build')
-rw-r--r--base/build/base.vcproj8
1 files changed, 8 insertions, 0 deletions
diff --git a/base/build/base.vcproj b/base/build/base.vcproj
index cecff6e..749e3bc 100644
--- a/base/build/base.vcproj
+++ b/base/build/base.vcproj
@@ -738,6 +738,14 @@
>
</File>
<File
+ RelativePath="..\scoped_variant_win.cc"
+ >
+ </File>
+ <File
+ RelativePath="..\scoped_variant_win.h"
+ >
+ </File>
+ <File
RelativePath="..\scoped_temp_dir.cc"
>
</File>