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

Unified Diff: Source/web/WebSecurityPolicy.cpp

Issue 1049923002: Export shouldTreatURLSchemeAsSecure. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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/web/WebSecurityPolicy.cpp
diff --git a/Source/web/WebSecurityPolicy.cpp b/Source/web/WebSecurityPolicy.cpp
index 1391a68c80aed6e7b9f069dc82a1dc8b9f7d06f5..83c240fc3ed4db242d2345fa181c52f010fee34b 100644
--- a/Source/web/WebSecurityPolicy.cpp
+++ b/Source/web/WebSecurityPolicy.cpp
@@ -65,6 +65,11 @@ void WebSecurityPolicy::registerURLSchemeAsSecure(const WebString& scheme)
SchemeRegistry::registerURLSchemeAsSecure(scheme);
}
+bool WebSecurityPolicy::shouldTreatURLSchemeAsSecure(const WebString& scheme)
+{
+ return SchemeRegistry::shouldTreatURLSchemeAsSecure(scheme);
+}
+
void WebSecurityPolicy::registerURLSchemeAsCORSEnabled(const WebString& scheme)
{
SchemeRegistry::registerURLSchemeAsCORSEnabled(scheme);

Powered by Google App Engine
This is Rietveld 408576698