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

Unified Diff: content/common/frame_owner_properties.h

Issue 2378643002: Propagating csp attribute changes on frameOwnerPropertiesChanged() (Closed)
Patch Set: rebasing on master Created 4 years, 2 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 | « content/common/frame_messages.h ('k') | content/common/frame_owner_properties.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/frame_owner_properties.h
diff --git a/content/common/frame_owner_properties.h b/content/common/frame_owner_properties.h
index 12325a9483fc9f0e8b5f02bbdb34c848778baeb4..157c82334ddc3f30d1fd3145106a96abe19e930e 100644
--- a/content/common/frame_owner_properties.h
+++ b/content/common/frame_owner_properties.h
@@ -34,6 +34,14 @@ struct CONTENT_EXPORT FrameOwnerProperties {
int margin_width;
int margin_height;
bool allow_fullscreen;
+
+ // An experimental attribute to be used by a parent frame to enforce CSP on a
+ // subframe. This is different from replicated CSP headers kept in
+ // FrameReplicationState that keep track of CSP headers currently in effect
+ // for a frame. See https://crbug.com/647588 and
+ // https://www.w3.org/TR/csp-embedded-enforcement/#required-csp
+ std::string required_csp;
+
std::vector<blink::WebPermissionType> delegated_permissions;
};
« no previous file with comments | « content/common/frame_messages.h ('k') | content/common/frame_owner_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698