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

Unified Diff: Source/wtf/text/Base64.cpp

Issue 26481005: Implementation of script hashes for CSP. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase on tip of tree Created 7 years, 2 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/wtf/text/Base64.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/text/Base64.cpp
diff --git a/Source/wtf/text/Base64.cpp b/Source/wtf/text/Base64.cpp
index 876e22565bfa547ae6c5d36384511b7d11af5eac..21552ffbe0cf1bec0131a1f4e9db0d6cdf6e89df 100644
--- a/Source/wtf/text/Base64.cpp
+++ b/Source/wtf/text/Base64.cpp
@@ -209,6 +209,11 @@ bool base64Decode(const char* data, unsigned length, Vector<char>& out, Base64De
return base64DecodeInternal<LChar>(reinterpret_cast<const LChar*>(data), length, out, policy);
}
+bool base64Decode(const UChar* data, unsigned length, Vector<char>& out, Base64DecodePolicy policy)
+{
+ return base64DecodeInternal<UChar>(data, length, out, policy);
+}
+
bool base64Decode(const String& in, Vector<char>& out, Base64DecodePolicy policy)
{
if (in.isEmpty())
« no previous file with comments | « Source/wtf/text/Base64.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698