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

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

Issue 671663002: Standardize usage of virtual/override/final in content/ (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_pss_openssl.cc
diff --git a/content/child/webcrypto/openssl/rsa_pss_openssl.cc b/content/child/webcrypto/openssl/rsa_pss_openssl.cc
index 6132b542f9b20d9097da3d2e04a96fa5ebab49f7..a6bf4d55a69ff4c7935f61c1ebedebc245714652 100644
--- a/content/child/webcrypto/openssl/rsa_pss_openssl.cc
+++ b/content/child/webcrypto/openssl/rsa_pss_openssl.cc
@@ -19,7 +19,7 @@ class RsaPssImplementation : public RsaHashedAlgorithm {
: RsaHashedAlgorithm(blink::WebCryptoKeyUsageVerify,
blink::WebCryptoKeyUsageSign) {}
- virtual const char* GetJwkAlgorithm(
+ const char* GetJwkAlgorithm(
const blink::WebCryptoAlgorithmId hash) const override {
switch (hash) {
case blink::WebCryptoAlgorithmIdSha1:
@@ -35,19 +35,19 @@ class RsaPssImplementation : public RsaHashedAlgorithm {
}
}
- virtual Status Sign(const blink::WebCryptoAlgorithm& algorithm,
- const blink::WebCryptoKey& key,
- const CryptoData& data,
- std::vector<uint8_t>* buffer) const override {
+ Status Sign(const blink::WebCryptoAlgorithm& algorithm,
+ const blink::WebCryptoKey& key,
+ const CryptoData& data,
+ std::vector<uint8_t>* buffer) const override {
return RsaSign(
key, algorithm.rsaPssParams()->saltLengthBytes(), data, buffer);
}
- virtual Status Verify(const blink::WebCryptoAlgorithm& algorithm,
- const blink::WebCryptoKey& key,
- const CryptoData& signature,
- const CryptoData& data,
- bool* signature_match) const override {
+ Status Verify(const blink::WebCryptoAlgorithm& algorithm,
+ const blink::WebCryptoKey& key,
+ const CryptoData& signature,
+ const CryptoData& data,
+ bool* signature_match) const override {
return RsaVerify(key,
algorithm.rsaPssParams()->saltLengthBytes(),
signature,
« no previous file with comments | « content/child/webcrypto/openssl/rsa_oaep_openssl.cc ('k') | content/child/webcrypto/openssl/rsa_ssa_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698