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

Unified Diff: content/common/frame_owner_properties.h

Issue 2378643002: Propagating csp attribute changes on frameOwnerPropertiesChanged() (Closed)
Patch Set: Separating the test, string16 to string, adding comments 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: 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;
alexmos 2016/10/04 23:50:21 Thanks for adding the comment. Perhaps also add b
std::vector<blink::WebPermissionType> delegated_permissions;
};

Powered by Google App Engine
This is Rietveld 408576698