| Index: content/renderer/webcrypto/webcrypto_impl.h
|
| diff --git a/content/renderer/webcrypto/webcrypto_impl.h b/content/renderer/webcrypto/webcrypto_impl.h
|
| index c1c559292c8f43c6f830e6443a42b9c2db6b79af..f867b7de2488ce6709664474fc12058116e3cf85 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,
|
| WebKit::WebCryptoResult result);
|
|
|
| - static void ShrinkBuffer(WebKit::WebArrayBuffer* buffer, unsigned new_size);
|
| static WebKit::WebCryptoKey NullKey();
|
|
|
| protected:
|
| @@ -121,6 +120,14 @@ class CONTENT_EXPORT WebCryptoImpl
|
| unsigned data_size,
|
| bool* signature_match);
|
|
|
| + bool ImportKeyJwk(
|
| + const unsigned char* key_data,
|
| + unsigned key_data_size,
|
| + const WebKit::WebCryptoAlgorithm& algorithm_or_null,
|
| + bool extractable,
|
| + WebKit::WebCryptoKeyUsageMask usage_mask,
|
| + WebKit::WebCryptoKey* key);
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(WebCryptoImpl);
|
| };
|
|
|