diff options
author | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-30 20:50:51 +0000 |
---|---|---|
committer | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-30 20:50:51 +0000 |
commit | c7f4b627c4dde3c801649e28eea82e581797590c (patch) | |
tree | b1044b55a28089f8eaaa529355413fa02e0494a2 /base/hmac.h | |
parent | 777c7bff9d40214069752a8ca91ade106a60536b (diff) | |
download | chromium_src-c7f4b627c4dde3c801649e28eea82e581797590c.zip chromium_src-c7f4b627c4dde3c801649e28eea82e581797590c.tar.gz chromium_src-c7f4b627c4dde3c801649e28eea82e581797590c.tar.bz2 |
Fix some issues found looking at the code.
Patch from Gaetano Mendola <mendola@gmail.com>
Original review: http://codereview.chromium.org/4273
I added some additions on my part and two unit test fix due to the added DCHECK. Reduced atl header inclusion.
Review URL: http://codereview.chromium.org/5009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2730 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/hmac.h')
-rw-r--r-- | base/hmac.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/base/hmac.h b/base/hmac.h index ac48ec07..bbfe855 100644 --- a/base/hmac.h +++ b/base/hmac.h @@ -11,6 +11,7 @@ #include <string> #include "base/basictypes.h" +#include "base/scoped_ptr.h" namespace base { @@ -34,7 +35,7 @@ class HMAC { private: HashAlgorithm hash_alg_; - HMACPlatformData* plat_; + scoped_ptr<HMACPlatformData> plat_; DISALLOW_COPY_AND_ASSIGN(HMAC); }; |