| Index: Source/modules/crypto/SubtleCrypto.h
|
| diff --git a/Source/modules/crypto/SubtleCrypto.h b/Source/modules/crypto/SubtleCrypto.h
|
| index d3cf99000b662102e872e99d272109f189f1da90..3df45a197d05977e28b5400d8cbc27464cdfb46e 100644
|
| --- a/Source/modules/crypto/SubtleCrypto.h
|
| +++ b/Source/modules/crypto/SubtleCrypto.h
|
| @@ -40,18 +40,19 @@ namespace WebCore {
|
|
|
| class CryptoOperation;
|
| class Dictionary;
|
| -class ExceptionState;
|
| +
|
| +typedef int ExceptionCode;
|
|
|
| class SubtleCrypto : public ScriptWrappable, public RefCounted<SubtleCrypto> {
|
| public:
|
| static PassRefPtr<SubtleCrypto> create() { return adoptRef(new SubtleCrypto()); }
|
|
|
| - PassRefPtr<CryptoOperation> encrypt(const Dictionary&, ExceptionState&);
|
| - PassRefPtr<CryptoOperation> decrypt(const Dictionary&, ExceptionState&);
|
| - PassRefPtr<CryptoOperation> sign(const Dictionary&, ExceptionState&);
|
| + PassRefPtr<CryptoOperation> encrypt(const Dictionary&, ExceptionCode&);
|
| + PassRefPtr<CryptoOperation> decrypt(const Dictionary&, ExceptionCode&);
|
| + PassRefPtr<CryptoOperation> sign(const Dictionary&, ExceptionCode&);
|
| // Note that this is not named "verify" because when compiling on Mac that expands to a macro and breaks.
|
| - PassRefPtr<CryptoOperation> verifySignature(const Dictionary&, ExceptionState&);
|
| - PassRefPtr<CryptoOperation> digest(const Dictionary&, ExceptionState&);
|
| + PassRefPtr<CryptoOperation> verifySignature(const Dictionary&, ExceptionCode&);
|
| + PassRefPtr<CryptoOperation> digest(const Dictionary&, ExceptionCode&);
|
|
|
| private:
|
| SubtleCrypto();
|
|
|