Index: Source/modules/crypto/SubtleCrypto.h |
diff --git a/Source/modules/crypto/SubtleCrypto.h b/Source/modules/crypto/SubtleCrypto.h |
index ad7f201c043f76eb9a9b1d884921316d1bad2fd6..7fcb08347306637a6cac8e2b312a9e05f29bde68 100644 |
--- a/Source/modules/crypto/SubtleCrypto.h |
+++ b/Source/modules/crypto/SubtleCrypto.h |
@@ -33,9 +33,11 @@ |
#include "bindings/v8/ScriptPromise.h" |
#include "bindings/v8/ScriptWrappable.h" |
+#include "platform/CryptoResult.h" |
#include "platform/heap/Handle.h" |
#include "wtf/ArrayPiece.h" |
#include "wtf/Forward.h" |
+#include "wtf/HashSet.h" |
#include "wtf/RefCounted.h" |
namespace WebCore { |
@@ -67,7 +69,12 @@ public: |
void trace(Visitor*) { } |
private: |
+ class PendingResult; |
SubtleCrypto(); |
+ |
+ ScriptPromise startCryptoOperation(ScriptState*, const Dictionary&, Key*, blink::WebCryptoOperation, const ArrayPiece& signature, const ArrayPiece& dataBuffer); |
+ |
+ HashSet<RefPtr<CryptoResult> > m_pendingResults; |
}; |
} // namespace WebCore |