Index: content/child/webcrypto/status.cc |
diff --git a/content/child/webcrypto/status.cc b/content/child/webcrypto/status.cc |
index fa5f464641fa14461a79e228ddc3cfbc3e286d09..6d781abd359bf8865245196e02a694f4ab3012d9 100644 |
--- a/content/child/webcrypto/status.cc |
+++ b/content/child/webcrypto/status.cc |
@@ -273,6 +273,11 @@ Status Status::ErrorCreateKeyEmptyUsages() { |
"Usages cannot be empty when creating a key."); |
} |
+Status Status::ErrorImportKeyEmptyUsages() { |
+ return Status(blink::WebCryptoErrorTypeSyntax, |
+ "Usages cannot be empty when importing a key."); |
+} |
+ |
Status Status::ErrorImportedEcKeyIncorrectCurve() { |
return Status( |
blink::WebCryptoErrorTypeData, |