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

Unified Diff: third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h

Issue 1866433002: Use RequestContext to apply CSP in FrameFetchContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename redirectReceivedAndNotFollowed() to redirectBlocked() Created 4 years, 8 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/core/frame/csp/ContentSecurityPolicy.h
diff --git a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
index 89982dd517fa00f7ef865525e472a64a57e92c38..c4ecd3b85fa6a5501132e3a132957f4a2466792c 100644
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
@@ -260,15 +260,6 @@ public:
static bool isDirectiveName(const String&);
- // These functions are used to debug using ResourceContext to apply
- // CSP directives instead of Resource::Type, by checking that the
- // ResourceContext is as expected. See crbug.com/474412
- static bool isScriptResource(const ResourceRequest&);
- static bool isStyleResource(const ResourceRequest&);
- static bool isImageResource(const ResourceRequest&);
- static bool isFontResource(const ResourceRequest&);
- static bool isMediaResource(const ResourceRequest&);
-
Document* document() const;
private:

Powered by Google App Engine
This is Rietveld 408576698