Index: content/child/webcrypto/nss/aes_key_nss.h |
diff --git a/content/child/webcrypto/nss/aes_key_nss.h b/content/child/webcrypto/nss/aes_key_nss.h |
index 710e5cf96822de68548d2e0d1e93f7debe9a3f07..6d80dd3037d26703cc0de14e221748f2c4ecdd70 100644 |
--- a/content/child/webcrypto/nss/aes_key_nss.h |
+++ b/content/child/webcrypto/nss/aes_key_nss.h |
@@ -36,13 +36,10 @@ class AesAlgorithm : public AlgorithmImplementation { |
AesAlgorithm(CK_MECHANISM_TYPE import_mechanism, |
const std::string& jwk_suffix); |
- virtual Status VerifyKeyUsagesBeforeGenerateKey( |
- blink::WebCryptoKeyUsageMask usage_mask) const override; |
- |
- virtual Status GenerateSecretKey(const blink::WebCryptoAlgorithm& algorithm, |
- bool extractable, |
- blink::WebCryptoKeyUsageMask usage_mask, |
- blink::WebCryptoKey* key) const override; |
+ virtual Status GenerateKey(const blink::WebCryptoAlgorithm& algorithm, |
+ bool extractable, |
+ blink::WebCryptoKeyUsageMask usage_mask, |
+ GenerateKeyResult* result) const override; |
virtual Status VerifyKeyUsagesBeforeImportKey( |
blink::WebCryptoKeyFormat format, |