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/string_util_win.h | |
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/string_util_win.h')
0 files changed, 0 insertions, 0 deletions