| Index: public/platform/WebCryptoKey.h
|
| diff --git a/public/platform/WebCryptoKey.h b/public/platform/WebCryptoKey.h
|
| index 8a48e6b8902a9d21ab82bd62b7d71db8c208be81..e1b12a36e9e89b9839f86dbaf79c87249850567c 100644
|
| --- a/public/platform/WebCryptoKey.h
|
| +++ b/public/platform/WebCryptoKey.h
|
| @@ -33,6 +33,7 @@
|
|
|
| #include "WebCommon.h"
|
| #include "WebPrivatePtr.h"
|
| +#include "WebVector.h"
|
|
|
| namespace blink {
|
|
|
| @@ -43,13 +44,13 @@ enum WebCryptoKeyType {
|
| };
|
|
|
| enum WebCryptoKeyUsage {
|
| - WebCryptoKeyUsageEncrypt = 1 << 0,
|
| - WebCryptoKeyUsageDecrypt = 1 << 1,
|
| - WebCryptoKeyUsageSign = 1 << 2,
|
| - WebCryptoKeyUsageVerify = 1 << 3,
|
| - WebCryptoKeyUsageDeriveKey = 1 << 4,
|
| - WebCryptoKeyUsageWrapKey = 1 << 5,
|
| - WebCryptoKeyUsageUnwrapKey = 1 << 6,
|
| + WebCryptoKeyUsageEncrypt = 1 << 1,
|
| + WebCryptoKeyUsageDecrypt = 1 << 2,
|
| + WebCryptoKeyUsageSign = 1 << 3,
|
| + WebCryptoKeyUsageVerify = 1 << 4,
|
| + WebCryptoKeyUsageDeriveKey = 1 << 5,
|
| + WebCryptoKeyUsageWrapKey = 1 << 6,
|
| + WebCryptoKeyUsageUnwrapKey = 1 << 7,
|
| #if INSIDE_BLINK
|
| EndOfWebCryptoKeyUsage,
|
| #endif
|
| @@ -86,11 +87,6 @@ class WebCryptoKeyHandle;
|
| //
|
| // If WebCryptoKey "isNull()" then it is invalid to call any of the other
|
| // methods on it (other than destruction, assignment, or isNull()).
|
| -//
|
| -// FIXME: Define the interface to use for structured clone.
|
| -// Cloning across a process boundary will need serialization,
|
| -// however cloning for in-process workers could just share the same
|
| -// (threadsafe) handle.
|
| class WebCryptoKey {
|
| public:
|
| ~WebCryptoKey() { reset(); }
|
|
|