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

Unified Diff: content/common/frame_owner_properties.h

Issue 2378643002: Propagating csp attribute changes on frameOwnerPropertiesChanged() (Closed)
Patch Set: Removing margins from the test html file 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..edfcbd59df05463aa1972b0c75c15822e601c2ce 100644
--- a/content/common/frame_owner_properties.h
+++ b/content/common/frame_owner_properties.h
@@ -34,6 +34,11 @@ 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
+ std::string csp;
Mike West 2016/10/04 14:55:55 Nit: To clarify further, let's rename this to some
alexmos 2016/10/04 23:50:21 +1, I think this is a good idea.
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