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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoaderClient.h

Issue 2483703002: Replicate feature policy headers to remote frames (Closed)
Patch Set: Get replication actually working; add layout tests 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/core/loader/FrameLoaderClient.h
diff --git a/third_party/WebKit/Source/core/loader/FrameLoaderClient.h b/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
index 534d22b4f37461d9abcf2a3787d7914682d5688b..4d7e6e5206ec4f3d18179a0a3e2e17062627e7b5 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
+++ b/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
@@ -270,6 +270,8 @@ class CORE_EXPORT FrameLoaderClient : public FrameClient {
virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) {}
+ virtual void didSetFeaturePolicyHeader(const String& headerValue) {}
+
// Called when a new Content Security Policy is added to the frame's document.
// This can be triggered by handling of HTTP headers, handling of <meta>
// element, or by inheriting CSP from the parent (in case of about:blank).

Powered by Google App Engine
This is Rietveld 408576698