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

Unified Diff: content/child/webcrypto/openssl/rsa_oaep_openssl.cc

Issue 630743005: Replace OVERRIDE and FINAL with override and final in content/child/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
Index: content/child/webcrypto/openssl/rsa_oaep_openssl.cc
diff --git a/content/child/webcrypto/openssl/rsa_oaep_openssl.cc b/content/child/webcrypto/openssl/rsa_oaep_openssl.cc
index da88c62214a55cb07be190822cd7f91a5fba1402..553c846a497f4f6d32bb11afcb91de3cbe6dfee9 100644
--- a/content/child/webcrypto/openssl/rsa_oaep_openssl.cc
+++ b/content/child/webcrypto/openssl/rsa_oaep_openssl.cc
@@ -104,7 +104,7 @@ class RsaOaepImplementation : public RsaHashedAlgorithm {
blink::WebCryptoKeyUsageUnwrapKey) {}
virtual const char* GetJwkAlgorithm(
- const blink::WebCryptoAlgorithmId hash) const OVERRIDE {
+ const blink::WebCryptoAlgorithmId hash) const override {
switch (hash) {
case blink::WebCryptoAlgorithmIdSha1:
return "RSA-OAEP";
@@ -122,7 +122,7 @@ class RsaOaepImplementation : public RsaHashedAlgorithm {
virtual Status Encrypt(const blink::WebCryptoAlgorithm& algorithm,
const blink::WebCryptoKey& key,
const CryptoData& data,
- std::vector<uint8_t>* buffer) const OVERRIDE {
+ std::vector<uint8_t>* buffer) const override {
if (key.type() != blink::WebCryptoKeyTypePublic)
return Status::ErrorUnexpectedKeyType();
@@ -133,7 +133,7 @@ class RsaOaepImplementation : public RsaHashedAlgorithm {
virtual Status Decrypt(const blink::WebCryptoAlgorithm& algorithm,
const blink::WebCryptoKey& key,
const CryptoData& data,
- std::vector<uint8_t>* buffer) const OVERRIDE {
+ std::vector<uint8_t>* buffer) const override {
if (key.type() != blink::WebCryptoKeyTypePrivate)
return Status::ErrorUnexpectedKeyType();
« no previous file with comments | « content/child/webcrypto/openssl/rsa_key_openssl.h ('k') | content/child/webcrypto/openssl/rsa_ssa_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698