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

Unified Diff: Source/platform/exported/WebCryptoResult.cpp

Issue 338993002: [webcrypto] exportKey() now returns dictionary when format='jwk' (CL 2 of 2). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase and fix rsa-oaep-key-manipulation.html Created 6 years, 6 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 | « Source/platform/CryptoResult.h ('k') | public/platform/WebCrypto.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/exported/WebCryptoResult.cpp
diff --git a/Source/platform/exported/WebCryptoResult.cpp b/Source/platform/exported/WebCryptoResult.cpp
index dff47af58fc90724f1b25491ccbbf336697c6131..bb0a2e8906788e3aed1530b79e1a1410c342f0ee 100644
--- a/Source/platform/exported/WebCryptoResult.cpp
+++ b/Source/platform/exported/WebCryptoResult.cpp
@@ -59,6 +59,12 @@ void WebCryptoResult::completeWithBuffer(const void* bytes, unsigned bytesSize)
completeWithBuffer(buffer);
}
+void WebCryptoResult::completeWithJson(const char* utf8Data, unsigned length)
+{
+ m_impl->completeWithJson(utf8Data, length);
+ reset();
+}
+
void WebCryptoResult::completeWithBoolean(bool b)
{
m_impl->completeWithBoolean(b);
« no previous file with comments | « Source/platform/CryptoResult.h ('k') | public/platform/WebCrypto.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698