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

Unified Diff: Source/core/dom/Document.h

Issue 559503002: CSP: Move policy parsing out of Document. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reworking. Created 6 years, 3 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 | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index f034525e3dea8dc8a08f1fce712e6cba73b6156a..561f8de7fc72c655334de6344d1e4f3108daa55f 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -71,7 +71,6 @@ class CanvasRenderingContext2D;
class Chrome;
class Comment;
class ConsoleMessage;
-class ContentSecurityPolicyResponseHeaders;
class ContextFeatures;
class CustomElementMicrotaskRunQueue;
class CustomElementRegistrationContext;
@@ -881,7 +880,7 @@ public:
void initSecurityContext();
void initSecurityContext(const DocumentInit&);
- void initContentSecurityPolicy(const ContentSecurityPolicyResponseHeaders&);
+ void initContentSecurityPolicy(PassRefPtr<ContentSecurityPolicy> = nullptr);
bool allowInlineEventHandlers(Node*, EventListener*, const String& contextURL, const WTF::OrdinalNumber& contextLine);
bool allowExecutingScripts(Node*);
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698