diff options
author | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-14 16:19:46 +0000 |
---|---|---|
committer | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-14 16:19:46 +0000 |
commit | 350404e99b174f97f5a74cfa2c2d3827455a38e7 (patch) | |
tree | fd0fcb7ed901b825feca7eb5b3dcf37144c9486c /base/base_lib.scons | |
parent | d82cac3a0e2d86d5429ac6fa237851a769c83a5f (diff) | |
download | chromium_src-350404e99b174f97f5a74cfa2c2d3827455a38e7.zip chromium_src-350404e99b174f97f5a74cfa2c2d3827455a38e7.tar.gz chromium_src-350404e99b174f97f5a74cfa2c2d3827455a38e7.tar.bz2 |
scoped_bstr and StackBstr implementations. The scoped_bstr class is a wrapper around BSTR system calls with some added functionality.
StackBstr is for those times when you need to pass a fixed string to a function but visiting the heap etc to allocate a new BSTR can be avoided.
StackBstr not zero cost, but much cheaper than creating a new BSTR like we currently do in many places.
Review URL: http://codereview.chromium.org/18006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8011 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base_lib.scons')
-rw-r--r-- | base/base_lib.scons | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/base_lib.scons b/base/base_lib.scons index 2c0e494..65081dd 100644 --- a/base/base_lib.scons +++ b/base/base_lib.scons @@ -179,8 +179,11 @@ input_files = ChromeFileList([ 'resource_util.h', 'revocable_store.cc', 'revocable_store.h', + 'scoped_bstr.cc', + 'scoped_bstr.h', 'scoped_clipboard_writer.cc', 'scoped_clipboard_writer.h', + 'scoped_comptr.h', 'scoped_handle.h', 'scoped_nsautorelease_pool.h', 'scoped_ptr.h', |