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

Unified Diff: Source/bindings/v8/custom/V8AlgorithmCustom.cpp

Issue 26426002: [webcrypto] Add parameters for AES-GCM and RSA-OAEP to blink API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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
« no previous file with comments | « no previous file | Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/custom/V8AlgorithmCustom.cpp
diff --git a/Source/bindings/v8/custom/V8AlgorithmCustom.cpp b/Source/bindings/v8/custom/V8AlgorithmCustom.cpp
index 83d58bf03573a8ba559e5b4e80580b3c8084e84e..9c501370a0d9e0f9c3941f2ae345fb97a95d5314 100644
--- a/Source/bindings/v8/custom/V8AlgorithmCustom.cpp
+++ b/Source/bindings/v8/custom/V8AlgorithmCustom.cpp
@@ -37,6 +37,7 @@
#include "V8HmacParams.h"
#include "V8RsaKeyGenParams.h"
#include "V8RsaSsaParams.h"
+#include "platform/NotImplemented.h"
namespace WebCore {
@@ -60,6 +61,11 @@ v8::Handle<v8::Object> wrap(Algorithm* impl, v8::Handle<v8::Object> creationCont
return wrap(static_cast<RsaSsaParams*>(impl), creationContext, isolate);
case WebKit::WebCryptoAlgorithmParamsTypeRsaKeyGenParams:
return wrap(static_cast<RsaKeyGenParams*>(impl), creationContext, isolate);
+ case WebKit::WebCryptoAlgorithmParamsTypeAesGcmParams:
+ case WebKit::WebCryptoAlgorithmParamsTypeRsaOaepParams:
+ // TODO
+ notImplemented();
+ break;
}
ASSERT_NOT_REACHED();
« no previous file with comments | « no previous file | Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698