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

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

Issue 2679383003: Share schemes needed for CSP between the browser and the renderer. (Closed)
Patch Set: Rebase and fix conflict. Created 3 years, 10 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: 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 6662a55303de08414153b0350600a53d701ba930..be9f91da64b0de0fc7c6b0eb96de4a1ba804f540 100644
--- a/third_party/WebKit/Source/web/WebSecurityPolicy.cpp
+++ b/third_party/WebKit/Source/web/WebSecurityPolicy.cpp
@@ -55,18 +55,6 @@ void WebSecurityPolicy::registerURLSchemeAsSupportingFetchAPI(
SchemeRegistry::registerURLSchemeAsSupportingFetchAPI(scheme);
}
-void WebSecurityPolicy::registerURLSchemeAsBypassingContentSecurityPolicy(
- const WebString& scheme) {
- SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme);
-}
-
-void WebSecurityPolicy::registerURLSchemeAsBypassingContentSecurityPolicy(
- const WebString& scheme,
- PolicyAreas policyAreas) {
- SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(
- scheme, static_cast<SchemeRegistry::PolicyAreas>(policyAreas));
-}
-
void WebSecurityPolicy::registerURLSchemeAsFirstPartyWhenTopLevel(
const WebString& scheme) {
SchemeRegistry::registerURLSchemeAsFirstPartyWhenTopLevel(scheme);
« no previous file with comments | « third_party/WebKit/Source/web/AssertMatchingEnums.cpp ('k') | third_party/WebKit/public/web/WebSecurityPolicy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698