Chromium Code Reviews| Index: Source/core/platform/chromium/support/WebCrypto.cpp |
| diff --git a/Source/core/platform/chromium/support/WebCrypto.cpp b/Source/core/platform/chromium/support/WebCrypto.cpp |
| index db3a0ffe0e92642e14396d516bd173ddcc716401..22ff2d0eae0e216df2b9b83ae8976f08b4b97fe0 100644 |
| --- a/Source/core/platform/chromium/support/WebCrypto.cpp |
| +++ b/Source/core/platform/chromium/support/WebCrypto.cpp |
| @@ -31,6 +31,7 @@ |
| #include "config.h" |
| #include "public/platform/WebCrypto.h" |
| +#include "core/platform/NotImplemented.cpp" |
|
abarth-chromium
2013/09/26 04:22:27
#include a cpp? Do you mean the h?
eroman
2013/09/26 06:54:07
Woah, oops! I copy pasted and forgot to change to
|
| #include "modules/crypto/CryptoResult.h" |
| #include "public/platform/WebArrayBuffer.h" |
| #include <string.h> |
| @@ -92,4 +93,52 @@ void WebCryptoResult::assign(const WebCryptoResult& o) |
| m_impl = o.m_impl; |
| } |
| +void WebCrypto::encrypt(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char*, unsigned, WebCryptoResult result) |
| +{ |
| + notImplemented(); |
| + result.completeWithError(); |
| +} |
| + |
| +void WebCrypto::decrypt(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char*, unsigned, WebCryptoResult result) |
| +{ |
| + notImplemented(); |
| + result.completeWithError(); |
| +} |
| + |
| +void WebCrypto::sign(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char*, unsigned, WebCryptoResult result) |
| +{ |
| + notImplemented(); |
| + result.completeWithError(); |
| +} |
| + |
| +void WebCrypto::verifySignature(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char*, unsigned, const unsigned char*, unsigned, WebCryptoResult result) |
| +{ |
| + notImplemented(); |
| + result.completeWithError(); |
| +} |
| + |
| +void WebCrypto::digest(const WebCryptoAlgorithm&, const unsigned char*, unsigned, WebCryptoResult result) |
| +{ |
| + notImplemented(); |
| + result.completeWithError(); |
| +} |
| + |
| +void WebCrypto::generateKey(const WebCryptoAlgorithm&, bool, WebCryptoKeyUsageMask, WebCryptoResult result) |
| +{ |
| + notImplemented(); |
| + result.completeWithError(); |
| +} |
| + |
| +void WebCrypto::importKey(WebCryptoKeyFormat, const unsigned char*, unsigned, const WebCryptoAlgorithm&, bool, WebCryptoKeyUsageMask, WebCryptoResult result) |
| +{ |
| + notImplemented(); |
| + result.completeWithError(); |
| +} |
| + |
| +void WebCrypto::exportKey(WebCryptoKeyFormat, const WebCryptoKey&, WebCryptoResult result) |
| +{ |
| + notImplemented(); |
| + result.completeWithError(); |
| +} |
| + |
| } // namespace WebKit |