Index: Source/modules/crypto/CryptoResultImpl.h |
diff --git a/Source/modules/crypto/CryptoResultImpl.h b/Source/modules/crypto/CryptoResultImpl.h |
index 117d6863218e978dd4a3a98503119949265fe4c7..0465969fe17e86c54995b7ca247752432e2f290c 100644 |
--- a/Source/modules/crypto/CryptoResultImpl.h |
+++ b/Source/modules/crypto/CryptoResultImpl.h |
@@ -32,6 +32,7 @@ |
#define CryptoResultImpl_h |
#include "bindings/v8/ScriptPromise.h" |
+#include "core/dom/ExceptionCode.h" |
#include "platform/CryptoResult.h" |
#include "public/platform/WebCrypto.h" |
#include "wtf/Forward.h" |
@@ -39,6 +40,8 @@ |
namespace WebCore { |
+ExceptionCode webCryptoErrorToExceptionCode(blink::WebCryptoErrorType); |
+ |
// Wrapper around a Promise to notify completion of the crypto operation. |
// |
// The thread on which CryptoResultImpl was created on is referred to as the |