| Index: content/child/webcrypto/status.cc
|
| diff --git a/content/child/webcrypto/status.cc b/content/child/webcrypto/status.cc
|
| index b3f7c3c01482d4660afc2f1552297f9f0c1e4787..d1ceffc5762bcf1391eaed65206aa2bc09e7293a 100644
|
| --- a/content/child/webcrypto/status.cc
|
| +++ b/content/child/webcrypto/status.cc
|
| @@ -116,6 +116,12 @@ Status Status::ErrorJwkBigIntegerHasLeadingZero(const std::string& property) {
|
| "The JWK \"" + property + "\" property contained a leading zero.");
|
| }
|
|
|
| +Status Status::ErrorJwkDuplicateKeyOps() {
|
| + return Status(blink::WebCryptoErrorTypeData,
|
| + "The \"key_ops\" property of the JWK dictionary contains "
|
| + "duplicate usages.");
|
| +}
|
| +
|
| Status Status::ErrorImportEmptyKeyData() {
|
| return Status(blink::WebCryptoErrorTypeData, "No key data was provided");
|
| }
|
|
|