Chromium Code Reviews| Index: content/renderer/webcrypto/webcrypto_impl.h |
| diff --git a/content/renderer/webcrypto/webcrypto_impl.h b/content/renderer/webcrypto/webcrypto_impl.h |
| index fa4a2f4083d228332b6bf3f64dc814a25e78d65b..06c235c4ef9e448a64639a7db6646022f4b54f0f 100644 |
| --- a/content/renderer/webcrypto/webcrypto_impl.h |
| +++ b/content/renderer/webcrypto/webcrypto_impl.h |
| @@ -8,6 +8,7 @@ |
| #include "base/basictypes.h" |
| #include "base/compiler_specific.h" |
| #include "third_party/WebKit/public/platform/WebCrypto.h" |
| +#include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h" |
| namespace content { |
| @@ -60,6 +61,10 @@ class WebCryptoImpl : public blink::WebCrypto { |
| const unsigned char* data, |
| unsigned int data_size, |
| blink::WebCryptoResult result); |
| + virtual bool digestSynchronous(const blink::WebCryptoAlgorithmId algorithm, |
| + const unsigned char* data, |
| + unsigned int data_size, |
| + blink::WebArrayBuffer& result); |
|
eroman
2014/02/21 23:11:20
Have you tested if this works? Try adding an OVERR
jww
2014/02/21 23:23:34
In the end, you approved the version that was WebA
|
| private: |
| DISALLOW_COPY_AND_ASSIGN(WebCryptoImpl); |