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

Unified Diff: content/child/webcrypto/status.h

Issue 197223007: [webcrypto] Remove support for null import algorithms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 9 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/shared_crypto_unittest.cc ('k') | content/child/webcrypto/status.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webcrypto/status.h
diff --git a/content/child/webcrypto/status.h b/content/child/webcrypto/status.h
index e4941ceb492c0cd7b830bf1058221426d9dd8e18..4fae5d4698d769e5c63b6c081da008c0e2b843cc 100644
--- a/content/child/webcrypto/status.h
+++ b/content/child/webcrypto/status.h
@@ -77,10 +77,6 @@ class CONTENT_EXPORT Status {
// specified by the Web Crypto import operation.
static Status ErrorJwkAlgorithmInconsistent();
- // The "alg" parameter was not provided, however neither was an algorithm
- // provided by the Web Crypto import operation.
- static Status ErrorJwkAlgorithmMissing();
-
// The "use" parameter was specified, however it couldn't be converted to an
// equivalent Web Crypto usage.
static Status ErrorJwkUnrecognizedUse();
@@ -167,14 +163,6 @@ class CONTENT_EXPORT Status {
// (implemention limitation), or the exponent was zero.
static Status ErrorGenerateKeyPublicExponent();
- // The algorithm was null when importing a raw-formatted key. In this case it
- // is required.
- static Status ErrorMissingAlgorithmImportRawKey();
-
- // The algorithm was null when unwrapping a raw-formatted key. In this case it
- // is required.
- static Status ErrorMissingAlgorithmUnwrapRawKey();
-
// The modulus bytes were empty when importing an RSA public key.
static Status ErrorImportRsaEmptyModulus();
« no previous file with comments | « content/child/webcrypto/shared_crypto_unittest.cc ('k') | content/child/webcrypto/status.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698