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

Unified Diff: public/platform/WebCryptoKey.h

Issue 18801015: WebCrypto: Update the key usage names to reflect recent changes to the spec. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 | « Source/modules/crypto/Key.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebCryptoKey.h
diff --git a/public/platform/WebCryptoKey.h b/public/platform/WebCryptoKey.h
index 3cc76af8f4dc0f1b71a9994e6541370ac632c28d..94f437c801ed57c884ef612567a71b33a94740cb 100644
--- a/public/platform/WebCryptoKey.h
+++ b/public/platform/WebCryptoKey.h
@@ -47,9 +47,9 @@ enum WebCryptoKeyUsage {
WebCryptoKeyUsageDecrypt = 1 << 1,
WebCryptoKeyUsageSign = 1 << 2,
WebCryptoKeyUsageVerify = 1 << 3,
- WebCryptoKeyUsageDerive = 1 << 4,
- WebCryptoKeyUsageWrap = 1 << 5,
- WebCryptoKeyUsageUnwrap = 1 << 6,
+ WebCryptoKeyUsageDeriveKey = 1 << 4,
+ WebCryptoKeyUsageWrapKey = 1 << 5,
+ WebCryptoKeyUsageUnwrapKey = 1 << 6,
#if WEBKIT_IMPLEMENTATION
EndOfWebCryptoKeyUsage,
#endif
@@ -106,7 +106,7 @@ public:
WEBKIT_EXPORT WebCryptoKeyType type() const;
WEBKIT_EXPORT bool extractable() const;
WEBKIT_EXPORT const WebCryptoAlgorithm& algorithm() const;
- WEBKIT_EXPORT WebCryptoKeyUsageMask keyUsage() const;
+ WEBKIT_EXPORT WebCryptoKeyUsageMask usages() const;
private:
WebCryptoKey() { }
« no previous file with comments | « Source/modules/crypto/Key.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698