Chromium Code Reviews| Index: content/renderer/webcrypto/webcrypto_util.h |
| diff --git a/content/renderer/webcrypto/webcrypto_util.h b/content/renderer/webcrypto/webcrypto_util.h |
| index 60a851a8a0e03bc37aa7cd764d159acb447bda1b..a0aa55f60b08d28f87966d7c54a816116b3162fb 100644 |
| --- a/content/renderer/webcrypto/webcrypto_util.h |
| +++ b/content/renderer/webcrypto/webcrypto_util.h |
| @@ -35,6 +35,8 @@ blink::WebArrayBuffer CreateArrayBuffer(const uint8* data, unsigned data_size); |
| // In Web Crypto, this type of encoding is only used inside JWK. |
| bool Base64DecodeUrlSafe(const std::string& input, std::string* output); |
| +bool IsHashAlgorithm(blink::WebCryptoAlgorithmId alg_id); |
|
eroman
2014/01/15 23:10:02
This needs to be marked as CONTENT_EXPORT or it wi
padolph
2014/01/16 02:02:04
Done.
|
| + |
| // Returns the "hash" param for an algorithm if it exists, otherwise returns |
| // a null algorithm. |
| blink::WebCryptoAlgorithm GetInnerHashAlgorithm( |