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

Unified Diff: content/child/webcrypto/openssl/hmac_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
« no previous file with comments | « content/child/webcrypto/openssl/aes_kw_openssl.cc ('k') | content/child/webcrypto/openssl/key_openssl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webcrypto/openssl/hmac_openssl.cc
diff --git a/content/child/webcrypto/openssl/hmac_openssl.cc b/content/child/webcrypto/openssl/hmac_openssl.cc
index c6f6536275d547f4a977eace6b351497812190ae..c7b4b37686834578726b7a1e2363d61f47dd82dd 100644
--- a/content/child/webcrypto/openssl/hmac_openssl.cc
+++ b/content/child/webcrypto/openssl/hmac_openssl.cc
@@ -73,7 +73,7 @@ class HmacImplementation : public AlgorithmImplementation {
virtual Status GenerateSecretKey(const blink::WebCryptoAlgorithm& algorithm,
bool extractable,
blink::WebCryptoKeyUsageMask usage_mask,
- blink::WebCryptoKey* key) const OVERRIDE {
+ blink::WebCryptoKey* key) const override {
const blink::WebCryptoHmacKeyGenParams* params =
algorithm.hmacKeyGenParams();
@@ -92,7 +92,7 @@ class HmacImplementation : public AlgorithmImplementation {
virtual Status VerifyKeyUsagesBeforeImportKey(
blink::WebCryptoKeyFormat format,
- blink::WebCryptoKeyUsageMask usage_mask) const OVERRIDE {
+ blink::WebCryptoKeyUsageMask usage_mask) const override {
switch (format) {
case blink::WebCryptoKeyFormatRaw:
case blink::WebCryptoKeyFormatJwk:
@@ -103,7 +103,7 @@ class HmacImplementation : public AlgorithmImplementation {
}
virtual Status VerifyKeyUsagesBeforeGenerateKey(
- blink::WebCryptoKeyUsageMask usage_mask) const OVERRIDE {
+ blink::WebCryptoKeyUsageMask usage_mask) const override {
return CheckKeyCreationUsages(kAllKeyUsages, usage_mask);
}
@@ -111,7 +111,7 @@ class HmacImplementation : public AlgorithmImplementation {
const blink::WebCryptoAlgorithm& algorithm,
bool extractable,
blink::WebCryptoKeyUsageMask usage_mask,
- blink::WebCryptoKey* key) const OVERRIDE {
+ blink::WebCryptoKey* key) const override {
const blink::WebCryptoAlgorithm& hash =
algorithm.hmacImportParams()->hash();
@@ -133,7 +133,7 @@ class HmacImplementation : public AlgorithmImplementation {
const blink::WebCryptoAlgorithm& algorithm,
bool extractable,
blink::WebCryptoKeyUsageMask usage_mask,
- blink::WebCryptoKey* key) const OVERRIDE {
+ blink::WebCryptoKey* key) const override {
const char* algorithm_name =
GetJwkHmacAlgorithmName(algorithm.hmacImportParams()->hash().id());
if (!algorithm_name)
@@ -150,13 +150,13 @@ class HmacImplementation : public AlgorithmImplementation {
}
virtual Status ExportKeyRaw(const blink::WebCryptoKey& key,
- std::vector<uint8_t>* buffer) const OVERRIDE {
+ std::vector<uint8_t>* buffer) const override {
*buffer = SymKeyOpenSsl::Cast(key)->raw_key_data();
return Status::Success();
}
virtual Status ExportKeyJwk(const blink::WebCryptoKey& key,
- std::vector<uint8_t>* buffer) const OVERRIDE {
+ std::vector<uint8_t>* buffer) const override {
SymKeyOpenSsl* sym_key = SymKeyOpenSsl::Cast(key);
const std::vector<uint8_t>& raw_data = sym_key->raw_key_data();
@@ -177,7 +177,7 @@ class HmacImplementation : public AlgorithmImplementation {
virtual Status Sign(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 {
const blink::WebCryptoAlgorithm& hash =
key.algorithm().hmacParams()->hash();
@@ -189,7 +189,7 @@ class HmacImplementation : public AlgorithmImplementation {
const blink::WebCryptoKey& key,
const CryptoData& signature,
const CryptoData& data,
- bool* signature_match) const OVERRIDE {
+ bool* signature_match) const override {
std::vector<uint8_t> result;
Status status = Sign(algorithm, key, data, &result);
« no previous file with comments | « content/child/webcrypto/openssl/aes_kw_openssl.cc ('k') | content/child/webcrypto/openssl/key_openssl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698