diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-30 05:16:00 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-30 05:16:00 +0000 |
commit | 56ac7b554805cb1a52af2ab839acfbfd4f2e62e2 (patch) | |
tree | a8713d1a9ad57bde97d76716c5e9b50b3abf6af0 /crypto | |
parent | e8786824fbae3991ba685c2ee2a2f844e7f9c1c2 (diff) | |
download | chromium_src-56ac7b554805cb1a52af2ab839acfbfd4f2e62e2.zip chromium_src-56ac7b554805cb1a52af2ab839acfbfd4f2e62e2.tar.gz chromium_src-56ac7b554805cb1a52af2ab839acfbfd4f2e62e2.tar.bz2 |
crypto: Tag some overridden methods with OVERRIDE.
BUG=115047
R=rsleevi@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10824076
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148928 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/secure_hash_default.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/crypto/secure_hash_default.cc b/crypto/secure_hash_default.cc index 834a276..b743b4c 100644 --- a/crypto/secure_hash_default.cc +++ b/crypto/secure_hash_default.cc @@ -26,17 +26,18 @@ class SecureHashSHA256NSS : public SecureHash { virtual ~SecureHashSHA256NSS() { } - virtual void Update(const void* input, size_t len) { + // SecureHash implementation: + virtual void Update(const void* input, size_t len) OVERRIDE { SHA256_Update(&ctx_, static_cast<const unsigned char*>(input), len); } - virtual void Finish(void* output, size_t len) { + virtual void Finish(void* output, size_t len) OVERRIDE { SHA256_End(&ctx_, static_cast<unsigned char*>(output), NULL, static_cast<unsigned int>(len)); } - virtual bool Serialize(Pickle* pickle); - virtual bool Deserialize(PickleIterator* data_iterator); + virtual bool Serialize(Pickle* pickle) OVERRIDE; + virtual bool Deserialize(PickleIterator* data_iterator) OVERRIDE; private: SHA256Context ctx_; |