Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1077)

Unified Diff: content/renderer/webcrypto/webcrypto_impl.h

Issue 138343008: Add content implementation of digestSynchcronous. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased on ToT Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « no previous file | content/renderer/webcrypto/webcrypto_impl.cc » ('j') | content/renderer/webcrypto/webcrypto_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698