Index: content/child/webcrypto/shared_crypto.h |
diff --git a/content/child/webcrypto/shared_crypto.h b/content/child/webcrypto/shared_crypto.h |
index e341f59e8c262bbd6923b1893a920986ffb1ee69..7bd731fc13d188e9553d913a104fcf75c2f2df95 100644 |
--- a/content/child/webcrypto/shared_crypto.h |
+++ b/content/child/webcrypto/shared_crypto.h |
@@ -7,6 +7,7 @@ |
#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
+#include "base/memory/scoped_ptr.h" |
#include "content/common/content_export.h" |
#include "third_party/WebKit/public/platform/WebArrayBuffer.h" |
#include "third_party/WebKit/public/platform/WebCrypto.h" |
@@ -87,6 +88,9 @@ CONTENT_EXPORT Status Digest(const blink::WebCryptoAlgorithm& algorithm, |
const CryptoData& data, |
blink::WebArrayBuffer* buffer); |
+CONTENT_EXPORT scoped_ptr<blink::WebCryptoDigestor> CreateDigestor( |
+ blink::WebCryptoAlgorithmId algorithm); |
+ |
CONTENT_EXPORT Status |
GenerateSecretKey(const blink::WebCryptoAlgorithm& algorithm, |
bool extractable, |