Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1231)

Unified Diff: Source/modules/crypto/CryptoOperation.idl

Issue 19082002: WebCrypto: Add SHA-1 support to crypto.subtle.digest(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove CryptoOperation.promise(), instead make finish() and abort() return Promise Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/crypto/CryptoOperation.idl
diff --git a/Source/modules/crypto/CryptoOperation.idl b/Source/modules/crypto/CryptoOperation.idl
index ba683a1b77ed663ff338999db41b9e1e439a4682..3bbb4c7e587de5ae07ecbec55f251d02a4e56a0a 100644
--- a/Source/modules/crypto/CryptoOperation.idl
+++ b/Source/modules/crypto/CryptoOperation.idl
@@ -32,4 +32,10 @@
NoInterfaceObject,
] interface CryptoOperation {
readonly attribute Algorithm algorithm;
+
+ CryptoOperation process(ArrayBuffer data);
+ CryptoOperation process(ArrayBufferView data);
+
+ any finish();
+ any abort();
abarth-chromium 2013/07/16 00:29:10 It's too bad we can't use the type Promise here, b
};

Powered by Google App Engine
This is Rietveld 408576698