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

Unified Diff: Source/core/platform/CryptoResult.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 | « LayoutTests/crypto/wrap-unwrap-expected.txt ('k') | Source/core/platform/chromium/support/WebCrypto.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/CryptoResult.h
diff --git a/Source/core/platform/CryptoResult.h b/Source/core/platform/CryptoResult.h
index 0ba22215c9af38d7dfca6a2c984fa45af6c1b58c..393549aae1d7b40ec78fcb95988bad348ea0d72d 100644
--- a/Source/core/platform/CryptoResult.h
+++ b/Source/core/platform/CryptoResult.h
@@ -42,6 +42,7 @@ public:
virtual ~CryptoResult() { }
virtual void completeWithError() = 0;
+ virtual void completeWithError(const blink::WebString&) = 0;
virtual void completeWithBuffer(const blink::WebArrayBuffer&) = 0;
virtual void completeWithBoolean(bool) = 0;
virtual void completeWithKey(const blink::WebCryptoKey&) = 0;
« no previous file with comments | « LayoutTests/crypto/wrap-unwrap-expected.txt ('k') | Source/core/platform/chromium/support/WebCrypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698