| 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..261a9ef87d14fc7cf4cd7b32b75cf71cdde7e933 100644
|
| --- a/content/child/webcrypto/webcrypto_impl.h
|
| +++ b/content/child/webcrypto/webcrypto_impl.h
|
| @@ -9,6 +9,7 @@
|
| #include "base/compiler_specific.h"
|
| #include "third_party/WebKit/public/platform/WebCrypto.h"
|
| #include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h"
|
| +#include "third_party/WebKit/public/platform/WebVector.h"
|
|
|
| namespace content {
|
|
|
| @@ -68,6 +69,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);
|
| };
|
|
|