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

Unified Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.h

Issue 2372563002: Adding Embedding-CSP HTTP header (Closed)
Patch Set: Check for ascii and add console error message Created 4 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
Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.h
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
index 04c1ea594fc753cf83a6e75abacdccb2184950c0..8ff84fb1a5cdf057ad384a9fb61b3c7b6606fee2 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
@@ -209,6 +209,9 @@ public:
void acceptLanguagesChanged();
+ void setRequiredCSP(const AtomicString&) override;
+ AtomicString requiredCSP() const override;
+
FloatSize getViewportSize(IncludeScrollbarsInRect) const;
protected:
@@ -257,6 +260,7 @@ private:
String m_status;
String m_defaultStatus;
+ AtomicString m_requiredCSP;
mutable Member<ApplicationCache> m_applicationCache;

Powered by Google App Engine
This is Rietveld 408576698