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

Unified Diff: Source/testing/runner/MockWebCrypto.h

Issue 23592023: WebCrypto: Add interface for exportKey(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase, add test expectations, remove platformCrypto nullity check Created 7 years, 4 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/modules/crypto/SubtleCrypto.idl ('k') | Source/testing/runner/MockWebCrypto.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/testing/runner/MockWebCrypto.h
diff --git a/Source/testing/runner/MockWebCrypto.h b/Source/testing/runner/MockWebCrypto.h
index 96874568c0e0b45f4c208102574eaa170fb9adfb..e2b8c078b4dca8883e4ae83cbe69a187b1176a35 100644
--- a/Source/testing/runner/MockWebCrypto.h
+++ b/Source/testing/runner/MockWebCrypto.h
@@ -47,6 +47,7 @@ public:
virtual void digest(const WebKit::WebCryptoAlgorithm&, const unsigned char*, size_t, WebKit::WebCryptoResult) OVERRIDE;
virtual void generateKey(const WebKit::WebCryptoAlgorithm&, bool extractable, WebKit::WebCryptoKeyUsageMask, WebKit::WebCryptoResult) OVERRIDE;
virtual void importKey(WebKit::WebCryptoKeyFormat, const unsigned char* keyData, size_t keyDataSize, const WebKit::WebCryptoAlgorithm&, bool extractable, WebKit::WebCryptoKeyUsageMask, WebKit::WebCryptoResult) OVERRIDE;
+ virtual void exportKey(WebKit::WebCryptoKeyFormat, const WebKit::WebCryptoKey&, WebKit::WebCryptoResult) OVERRIDE;
};
} // namespace WebTestRunner
« no previous file with comments | « Source/modules/crypto/SubtleCrypto.idl ('k') | Source/testing/runner/MockWebCrypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698