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

Unified Diff: Source/bindings/v8/ScriptValue.h

Issue 21561004: WebCrypto: Add crypto.subtle.verify() to the platform interfaces. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add missing file common.js Created 7 years, 5 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/sign-verify-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/bindings/v8/ScriptValue.h
diff --git a/Source/bindings/v8/ScriptValue.h b/Source/bindings/v8/ScriptValue.h
index bfbc636f16d803244212d71c65c55725b708b1a2..a85a23c80df028850d1391505aa0ce072ac651b8 100644
--- a/Source/bindings/v8/ScriptValue.h
+++ b/Source/bindings/v8/ScriptValue.h
@@ -71,6 +71,7 @@ public:
}
static ScriptValue createNull() { return ScriptValue(v8::Null()); }
+ static ScriptValue createBoolean(bool b) { return ScriptValue(b ? v8::True() : v8::False()); }
ScriptValue& operator=(const ScriptValue& value)
{
« no previous file with comments | « LayoutTests/crypto/sign-verify-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