diff options
author | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-12 06:24:20 +0000 |
---|---|---|
committer | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-12 06:24:20 +0000 |
commit | 0c8a9b1ea09c88dd5860191c8430c81dfcb96199 (patch) | |
tree | 9194fe6bb146ee18cfcc433a50c4b640fd53d628 /chrome/renderer/net | |
parent | 7bee1e113242a39b41579e07cd83e41591595eab (diff) | |
download | chromium_src-0c8a9b1ea09c88dd5860191c8430c81dfcb96199.zip chromium_src-0c8a9b1ea09c88dd5860191c8430c81dfcb96199.tar.gz chromium_src-0c8a9b1ea09c88dd5860191c8430c81dfcb96199.tar.bz2 |
Exposing the Close() method publicly in the ScopedHandle class.
This is to be more consistent with the interface defined in scoped_handle.h (ScopedStdioHandle)
and also to avoid making the user make an explicit, Windows
specific call to close the handle
The recommendation is currently to do
::CloseHandle(h.Take());
which is less portable.
Review URL: http://codereview.chromium.org/13780
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6883 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/net')
0 files changed, 0 insertions, 0 deletions