diff options
author | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-12 20:10:49 +0000 |
---|---|---|
committer | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-12 20:10:49 +0000 |
commit | 49457c32741599d3c79e7f345ba51400748fb807 (patch) | |
tree | ba17debd9c2dc5569952f6d1bd5abab683a4bfd3 /base/build/base.vcproj | |
parent | 2786f3db2489aa1fd2453fa85745e5c5658b1cd1 (diff) | |
download | chromium_src-49457c32741599d3c79e7f345ba51400748fb807.zip chromium_src-49457c32741599d3c79e7f345ba51400748fb807.tar.gz chromium_src-49457c32741599d3c79e7f345ba51400748fb807.tar.bz2 |
com_ptr implementation. This is a fairly simple implementation of a smart class specifically meant for IUnknown derived COM interfaces.
The class gets much of its functionality from the already existing scoped_refptr but adds a few COM specific methods and some that scoped_refptr doesn't already have, yet are often necessary such as Receive(), Detach() and Attach().
I went with caps for the first letter of method names, but for the three I just mentioned, it might be prettier to have them in all lower case to better match with methods from the parent class. Let me know what you think.
Review URL: http://codereview.chromium.org/17473
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7890 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/build/base.vcproj')
-rw-r--r-- | base/build/base.vcproj | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/base/build/base.vcproj b/base/build/base.vcproj index 10c7dad..606d530 100644 --- a/base/build/base.vcproj +++ b/base/build/base.vcproj @@ -694,6 +694,10 @@ > </File> <File + RelativePath="..\scoped_comptr.h" + > + </File> + <File RelativePath="..\scoped_handle.h" > </File> @@ -834,11 +838,11 @@ > </File> <File - RelativePath="..\test_file_util_win.cc" + RelativePath="..\test_file_util.h" > </File> <File - RelativePath="..\test_file_util.h" + RelativePath="..\test_file_util_win.cc" > </File> <File |