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

Unified Diff: Tools/DumpRenderTree/chromium/TestRunner/src/MockWebCrypto.h

Issue 21016005: WebCrypto: Add more operations to the platform API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add notImplemented() Created 7 years, 5 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: Tools/DumpRenderTree/chromium/TestRunner/src/MockWebCrypto.h
diff --git a/Tools/DumpRenderTree/chromium/TestRunner/src/MockWebCrypto.h b/Tools/DumpRenderTree/chromium/TestRunner/src/MockWebCrypto.h
index be1f3d911cc3e87a904f96cfac77dbe5722679d8..187d7965e54d2dd6471eef3b174e031a66a98414 100644
--- a/Tools/DumpRenderTree/chromium/TestRunner/src/MockWebCrypto.h
+++ b/Tools/DumpRenderTree/chromium/TestRunner/src/MockWebCrypto.h
@@ -40,6 +40,9 @@ class MockWebCrypto : public WebKit::WebCrypto {
public:
static MockWebCrypto* get();
+ virtual void encrypt(const WebKit::WebCryptoAlgorithm&, const WebKit::WebCryptoKey&, WebKit::WebCryptoOperationResult&) OVERRIDE;
+ virtual void decrypt(const WebKit::WebCryptoAlgorithm&, const WebKit::WebCryptoKey&, WebKit::WebCryptoOperationResult&) OVERRIDE;
+ virtual void sign(const WebKit::WebCryptoAlgorithm&, const WebKit::WebCryptoKey&, WebKit::WebCryptoOperationResult&) OVERRIDE;
virtual void digest(const WebKit::WebCryptoAlgorithm&, WebKit::WebCryptoOperationResult&) OVERRIDE;
virtual void importKey(WebKit::WebCryptoKeyFormat, const unsigned char* keyData, size_t keyDataSize, const WebKit::WebCryptoAlgorithm&, bool extractable, WebKit::WebCryptoKeyUsageMask, WebKit::WebCryptoKeyOperationResult&) OVERRIDE;
};
« no previous file with comments | « Source/modules/crypto/SubtleCrypto.cpp ('k') | Tools/DumpRenderTree/chromium/TestRunner/src/MockWebCrypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698