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

Unified Diff: Source/platform/exported/WebCryptoResult.cpp

Issue 343723003: [webcrypto] Allow crypto operations to be cancelled by the platform implementation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix comment typo Created 6 years, 6 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/platform/CryptoResult.h ('k') | public/platform/WebCrypto.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/exported/WebCryptoResult.cpp
diff --git a/Source/platform/exported/WebCryptoResult.cpp b/Source/platform/exported/WebCryptoResult.cpp
index bb0a2e8906788e3aed1530b79e1a1410c342f0ee..a0545e9bd8314dc818783a854ba74449cb7c1193 100644
--- a/Source/platform/exported/WebCryptoResult.cpp
+++ b/Source/platform/exported/WebCryptoResult.cpp
@@ -86,6 +86,11 @@ void WebCryptoResult::completeWithKeyPair(const WebCryptoKey& publicKey, const W
reset();
}
+bool WebCryptoResult::cancelled() const
+{
+ return m_impl->cancelled();
+}
+
WebCryptoResult::WebCryptoResult(const PassRefPtr<WebCore::CryptoResult>& impl)
: m_impl(impl)
{
« no previous file with comments | « Source/platform/CryptoResult.h ('k') | public/platform/WebCrypto.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698