Index: Source/modules/crypto/CryptoOperation.idl |
diff --git a/Source/modules/crypto/CryptoOperation.idl b/Source/modules/crypto/CryptoOperation.idl |
index ba683a1b77ed663ff338999db41b9e1e439a4682..8d1b51fe5de755d1017ab2b7bbc0f8c1dee7a96f 100644 |
--- a/Source/modules/crypto/CryptoOperation.idl |
+++ b/Source/modules/crypto/CryptoOperation.idl |
@@ -32,4 +32,13 @@ |
NoInterfaceObject, |
] interface CryptoOperation { |
readonly attribute Algorithm algorithm; |
+ |
+ CryptoOperation process(ArrayBuffer data); |
+ CryptoOperation process(ArrayBufferView data); |
+ |
+ CryptoOperation finish(); |
+ CryptoOperation abort(); |
+ |
+ // FIXME: Hack until CryptoOperation derives from Promise. |
+ any promise(); |
}; |