Index: content/child/webcrypto/webcrypto_impl.h |
diff --git a/content/child/webcrypto/webcrypto_impl.h b/content/child/webcrypto/webcrypto_impl.h |
index 001471582cfef576141c31171bb854a66bb5d936..2112bfea4aed171fdcda8299d898593d42bf24e6 100644 |
--- a/content/child/webcrypto/webcrypto_impl.h |
+++ b/content/child/webcrypto/webcrypto_impl.h |
@@ -68,6 +68,18 @@ class WebCryptoImpl : public blink::WebCrypto { |
unsigned int data_size, |
blink::WebArrayBuffer& result); |
+ virtual bool deserializeKeyForClone( |
+ const blink::WebCryptoKeyAlgorithm& algorithm, |
+ blink::WebCryptoKeyType type, |
+ bool extractable, |
+ blink::WebCryptoKeyUsageMask usages, |
+ const unsigned char* key_data, |
+ unsigned key_data_size, |
+ blink::WebCryptoKey& key); |
+ |
+ virtual bool serializeKeyForClone(const blink::WebCryptoKey& key, |
+ blink::WebVector<unsigned char>& key_data); |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(WebCryptoImpl); |
}; |