Index: content/renderer/webcrypto/webcrypto_impl.h |
diff --git a/content/renderer/webcrypto/webcrypto_impl.h b/content/renderer/webcrypto/webcrypto_impl.h |
index 6c6a6b06887f66298093a6afffc64bab99eecd2e..c1b84a842e911202597ba35a24856f0ae9d9211a 100644 |
--- a/content/renderer/webcrypto/webcrypto_impl.h |
+++ b/content/renderer/webcrypto/webcrypto_impl.h |
@@ -62,7 +62,6 @@ class CONTENT_EXPORT WebCryptoImpl |
unsigned data_size, |
blink::WebCryptoResult result); |
- static void ShrinkBuffer(blink::WebArrayBuffer* buffer, unsigned new_size); |
protected: |
friend class WebCryptoImplTest; |
@@ -120,6 +119,14 @@ class CONTENT_EXPORT WebCryptoImpl |
unsigned data_size, |
bool* signature_match); |
+ bool ImportKeyJwk( |
+ const unsigned char* key_data, |
+ unsigned key_data_size, |
+ const blink::WebCryptoAlgorithm& algorithm_or_null, |
+ bool extractable, |
+ blink::WebCryptoKeyUsageMask usage_mask, |
+ blink::WebCryptoKey* key); |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(WebCryptoImpl); |
}; |