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

Unified Diff: third_party/WebKit/Source/web/WebSecurityPolicy.cpp

Issue 2475673003: Clean registering mixed content restricting schemes (Closed)
Patch Set: Clean registering mixed content restricting schemes Created 4 years, 1 month 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: third_party/WebKit/Source/web/WebSecurityPolicy.cpp
diff --git a/third_party/WebKit/Source/web/WebSecurityPolicy.cpp b/third_party/WebKit/Source/web/WebSecurityPolicy.cpp
index da85b532d6b90b680c1e236414aa1fb809fbbf44..7feaf720276bea789c87758fa91d78e165f8dafd 100644
--- a/third_party/WebKit/Source/web/WebSecurityPolicy.cpp
+++ b/third_party/WebKit/Source/web/WebSecurityPolicy.cpp
@@ -53,19 +53,10 @@ void WebSecurityPolicy::registerURLSchemeAsDisplayIsolated(
SchemeRegistry::registerURLSchemeAsDisplayIsolated(scheme);
}
-void WebSecurityPolicy::registerURLSchemeAsRestrictingMixedContent(
- const WebString& scheme) {
- SchemeRegistry::registerURLSchemeAsRestrictingMixedContent(scheme);
-}
-
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);
« no previous file with comments | « third_party/WebKit/Source/platform/weborigin/SchemeRegistry.cpp ('k') | third_party/WebKit/public/web/WebSecurityPolicy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698