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

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: add comment 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..b743b4c1c9615ec5f77bdf3a0bd0dab815c83764 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_;
« 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