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

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

Issue 141413003: [webcrypto] Match the error handling defined by the spec. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 11 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 | « Source/core/platform/chromium/support/WebCrypto.cpp ('k') | Source/modules/crypto/CryptoResultImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/CryptoResultImpl.h
diff --git a/Source/modules/crypto/CryptoResultImpl.h b/Source/modules/crypto/CryptoResultImpl.h
index aa5428b0c0f870d61787d941a7bcfe6fc555eb67..8e0ffe7aca43ea738b5e6403f94e3f788ba86af0 100644
--- a/Source/modules/crypto/CryptoResultImpl.h
+++ b/Source/modules/crypto/CryptoResultImpl.h
@@ -43,6 +43,7 @@
namespace WebCore {
class ScriptPromiseResolver;
+class ScriptState;
// Wrapper around a Promise to notify completion of the crypto operation.
// Platform cannot know about Promises which are declared in bindings.
@@ -53,6 +54,7 @@ public:
static PassRefPtr<CryptoResultImpl> create(ScriptPromise);
virtual void completeWithError() OVERRIDE;
+ virtual void completeWithError(const blink::WebString&) OVERRIDE;
virtual void completeWithBuffer(const blink::WebArrayBuffer&) OVERRIDE;
virtual void completeWithBoolean(bool) OVERRIDE;
virtual void completeWithKey(const blink::WebCryptoKey&) OVERRIDE;
« no previous file with comments | « Source/core/platform/chromium/support/WebCrypto.cpp ('k') | Source/modules/crypto/CryptoResultImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698