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

Unified Diff: Source/platform/CryptoResult.h

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: 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
Index: Source/platform/CryptoResult.h
diff --git a/Source/platform/CryptoResult.h b/Source/platform/CryptoResult.h
index af8032bc57997e4bd35febe1d797d841d1682a14..2d4aa7985e2bc16cd19c62179994bc20520c0c02 100644
--- a/Source/platform/CryptoResult.h
+++ b/Source/platform/CryptoResult.h
@@ -43,6 +43,7 @@ public:
virtual void completeWithError(blink::WebCryptoErrorType, const blink::WebString&) = 0;
virtual void completeWithBuffer(const blink::WebArrayBuffer&) = 0;
+ virtual void completeWithJson(const char* utf8Data, unsigned length) = 0;
virtual void completeWithBoolean(bool) = 0;
virtual void completeWithKey(const blink::WebCryptoKey&) = 0;
virtual void completeWithKeyPair(const blink::WebCryptoKey& publicKey, const blink::WebCryptoKey& privateKey) = 0;

Powered by Google App Engine
This is Rietveld 408576698