Chromium Code Reviews| Index: public/platform/WebCryptoKeyAlgorithmParams.h |
| diff --git a/public/platform/WebCryptoKeyAlgorithmParams.h b/public/platform/WebCryptoKeyAlgorithmParams.h |
| index 3450c02e427ae1c2eaeaaf52f5372e84a12a8c7a..ce4dbd4d9b306b0cc1f890182c4a10b420eebc2d 100644 |
| --- a/public/platform/WebCryptoKeyAlgorithmParams.h |
| +++ b/public/platform/WebCryptoKeyAlgorithmParams.h |
| @@ -55,6 +55,7 @@ enum WebCryptoKeyAlgorithmParamsType { |
| WebCryptoKeyAlgorithmParamsTypeAes, |
| WebCryptoKeyAlgorithmParamsTypeRsaHashed, |
| WebCryptoKeyAlgorithmParamsTypeEc, |
| + WebCryptoKeyAlgorithmParamsTypeKdf, |
|
eroman
2015/01/07 00:40:31
Same comment as earlier.
nharper
2015/01/08 00:58:40
Done.
|
| }; |
| class WebCryptoKeyAlgorithmParams { |
| @@ -206,6 +207,19 @@ private: |
| const WebCryptoNamedCurve m_namedCurve; |
| }; |
| +class WebCryptoKdfKeyAlgorithmParams : public WebCryptoKeyAlgorithmParams { |
|
eroman
2015/01/07 00:40:31
Same comment as earlier. I don't think there is va
nharper
2015/01/08 00:58:39
Done.
|
| +public: |
| + virtual WebCryptoKeyAlgorithmParamsType type() const |
| + { |
| + return WebCryptoKeyAlgorithmParamsTypeKdf; |
| + } |
| + |
| + virtual void writeToDictionary(WebCryptoKeyAlgorithmDictionary* dict) const |
| + { |
| + return; |
| + } |
| +}; |
| + |
| } // namespace blink |
| #endif |