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

Unified Diff: Source/modules/crypto/SubtleCrypto.h

Issue 20914002: Revert "WebCrypto: Add the Key parameter to a number of operations." (r155013). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « LayoutTests/crypto/normalize-algorithm.html ('k') | Source/modules/crypto/SubtleCrypto.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/SubtleCrypto.h
diff --git a/Source/modules/crypto/SubtleCrypto.h b/Source/modules/crypto/SubtleCrypto.h
index 9964bdae774e429fc7f31bc8f1d35e4b14fd7e2a..61fea3c553d91c72c468d75f4f5ae86c5b3b677b 100644
--- a/Source/modules/crypto/SubtleCrypto.h
+++ b/Source/modules/crypto/SubtleCrypto.h
@@ -42,17 +42,16 @@ namespace WebCore {
class CryptoOperation;
class Dictionary;
class ExceptionState;
-class Key;
class SubtleCrypto : public ScriptWrappable, public RefCounted<SubtleCrypto> {
public:
static PassRefPtr<SubtleCrypto> create() { return adoptRef(new SubtleCrypto()); }
- PassRefPtr<CryptoOperation> encrypt(const Dictionary&, Key*, ExceptionState&);
- PassRefPtr<CryptoOperation> decrypt(const Dictionary&, Key*, ExceptionState&);
- PassRefPtr<CryptoOperation> sign(const Dictionary&, Key*, ExceptionState&);
+ PassRefPtr<CryptoOperation> encrypt(const Dictionary&, ExceptionState&);
+ PassRefPtr<CryptoOperation> decrypt(const Dictionary&, ExceptionState&);
+ PassRefPtr<CryptoOperation> sign(const Dictionary&, ExceptionState&);
// Note that this is not named "verify" because when compiling on Mac that expands to a macro and breaks.
- PassRefPtr<CryptoOperation> verifySignature(const Dictionary&, Key*, ExceptionState&);
+ PassRefPtr<CryptoOperation> verifySignature(const Dictionary&, ExceptionState&);
PassRefPtr<CryptoOperation> digest(const Dictionary&, ExceptionState&);
ScriptObject importKey(const String&, ArrayBufferView*, const Dictionary&, bool extractable, const Vector<String>& keyUsages, ExceptionState&);
« no previous file with comments | « LayoutTests/crypto/normalize-algorithm.html ('k') | Source/modules/crypto/SubtleCrypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698