Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1973)

Unified Diff: crypto/secure_hash_default.cc

Issue 10824076: crypto: Tag some overridden methods with OVERRIDE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/secure_hash_default.cc
diff --git a/crypto/secure_hash_default.cc b/crypto/secure_hash_default.cc
index 834a276fbf9394541aa52dd37f628bdcfeb1ba39..e2128654758bd24449bf454e3b5a0323ef5924e6 100644
--- a/crypto/secure_hash_default.cc
+++ b/crypto/secure_hash_default.cc
@@ -26,17 +26,17 @@ class SecureHashSHA256NSS : public SecureHash {
virtual ~SecureHashSHA256NSS() {
}
- virtual void Update(const void* input, size_t len) {
+ virtual void Update(const void* input, size_t len) OVERRIDE {
Ryan Sleevi 2012/07/30 00:59:16 Please tag as would be done in a .h file, namely
tfarina 2012/07/30 01:08:12 Done.
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_;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698