| Index: content/renderer/webcrypto/webcrypto_util.h
|
| diff --git a/content/renderer/webcrypto/webcrypto_util.h b/content/renderer/webcrypto/webcrypto_util.h
|
| index a4f15a89894226835a350a8be6787cb6068dedbd..f90d75f6594a2ec61772a277a79d0f1879c1803d 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);
|
| +
|
| // Returns the "hash" param for an algorithm if it exists, otherwise returns
|
| // a null algorithm.
|
| blink::WebCryptoAlgorithm GetInnerHashAlgorithm(
|
|
|