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

Unified Diff: Source/platform/CryptoResult.h

Issue 243853004: [webcrypto] Reject failed operations with a DOMException rather than null. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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/platform/CryptoResult.h
diff --git a/Source/platform/CryptoResult.h b/Source/platform/CryptoResult.h
index 393549aae1d7b40ec78fcb95988bad348ea0d72d..4e8f15bf17d9a0f53c2a65e0a9cf402a38470bbb 100644
--- a/Source/platform/CryptoResult.h
+++ b/Source/platform/CryptoResult.h
@@ -41,8 +41,7 @@ class CryptoResult : public RefCounted<CryptoResult> {
public:
virtual ~CryptoResult() { }
- virtual void completeWithError() = 0;
- virtual void completeWithError(const blink::WebString&) = 0;
+ virtual void completeWithError(blink::WebCryptoErrorType, const blink::WebString&) = 0;
virtual void completeWithBuffer(const blink::WebArrayBuffer&) = 0;
virtual void completeWithBoolean(bool) = 0;
virtual void completeWithKey(const blink::WebCryptoKey&) = 0;

Powered by Google App Engine
This is Rietveld 408576698