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

Unified Diff: content/child/webcrypto/openssl/sym_key_openssl.h

Issue 512023002: Refactor the interface for generating keys. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Run git-cl format Created 6 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
Index: content/child/webcrypto/openssl/sym_key_openssl.h
diff --git a/content/child/webcrypto/openssl/sym_key_openssl.h b/content/child/webcrypto/openssl/sym_key_openssl.h
index e952dee884ab8bce4f29fd85e2a2d5a5f38419a3..ac68f5e43fce315e9ca30eb79c69a337c17145f9 100644
--- a/content/child/webcrypto/openssl/sym_key_openssl.h
+++ b/content/child/webcrypto/openssl/sym_key_openssl.h
@@ -12,13 +12,14 @@ namespace content {
namespace webcrypto {
class CryptoData;
+class GenerateKeyResult;
class Status;
Status GenerateSecretKeyOpenSsl(const blink::WebCryptoKeyAlgorithm& algorithm,
bool extractable,
blink::WebCryptoKeyUsageMask usage_mask,
unsigned keylen_bytes,
- blink::WebCryptoKey* key);
+ GenerateKeyResult* result);
Status ImportKeyRawOpenSsl(const CryptoData& key_data,
const blink::WebCryptoKeyAlgorithm& algorithm,
« no previous file with comments | « content/child/webcrypto/openssl/rsa_key_openssl.cc ('k') | content/child/webcrypto/openssl/sym_key_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698