diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-10 04:39:38 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-10 04:39:38 +0000 |
commit | cd9b75b1194ef656668b4d848c99d24d5968eb3a (patch) | |
tree | 2f0ee7adcb172a43aa6f635538daf57e52e48e6d /base/gmock_unittest.cc | |
parent | 253a24133db77bda145e3599e2d7582e4f8c7409 (diff) | |
download | chromium_src-cd9b75b1194ef656668b4d848c99d24d5968eb3a.zip chromium_src-cd9b75b1194ef656668b4d848c99d24d5968eb3a.tar.gz chromium_src-cd9b75b1194ef656668b4d848c99d24d5968eb3a.tar.bz2 |
Eliminate ScopedOpenSSL in favour of scoped_ptr<> specializations.
Match the NSS, CryptoAPI (Win) and Security (OS X) approaches by
declaring the scoped types as specializations of our existing scoped
classes.
Like NSS, this requires an intermediate helper type, because our
scoped_ptr<> doesn't accept deleter functions as template
arguments (though they are valid in C++11's unique_ptr<>). A few base
cryptographic (non-certificate) types are used in
scoped_openssl_types.h, while the remainder are left for
implementations to specialize as needed.
In an ideal world, this would be scoped_ptr<FOO, FOO_free>, but that
will require unique_ptr<> support.
BUG=388904
Review URL: https://codereview.chromium.org/361193003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282257 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/gmock_unittest.cc')
0 files changed, 0 insertions, 0 deletions