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

Unified Diff: third_party/WebKit/Source/web/RemoteFrameOwner.cpp

Issue 2797813002: Replicate feature policy container policies. (Closed)
Patch Set: Addressing review comments Created 3 years, 8 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 | « third_party/WebKit/Source/web/RemoteFrameOwner.h ('k') | third_party/WebKit/Source/web/WebFrame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/RemoteFrameOwner.cpp
diff --git a/third_party/WebKit/Source/web/RemoteFrameOwner.cpp b/third_party/WebKit/Source/web/RemoteFrameOwner.cpp
index 0be9dfb88d5aa3d31f7d6642254e5c28ff9bfad5..b97eee69e96630d3630e7020550bea8991fcbb94 100644
--- a/third_party/WebKit/Source/web/RemoteFrameOwner.cpp
+++ b/third_party/WebKit/Source/web/RemoteFrameOwner.cpp
@@ -12,6 +12,7 @@ namespace blink {
RemoteFrameOwner::RemoteFrameOwner(
SandboxFlags flags,
+ const WebParsedFeaturePolicy& container_policy,
const WebFrameOwnerProperties& frame_owner_properties)
: sandbox_flags_(flags),
browsing_context_container_name_(
@@ -23,7 +24,8 @@ RemoteFrameOwner::RemoteFrameOwner(
allow_fullscreen_(frame_owner_properties.allow_fullscreen),
allow_payment_request_(frame_owner_properties.allow_payment_request),
is_display_none_(frame_owner_properties.is_display_none),
- csp_(frame_owner_properties.required_csp) {}
+ csp_(frame_owner_properties.required_csp),
+ container_policy_(container_policy) {}
DEFINE_TRACE(RemoteFrameOwner) {
visitor->Trace(frame_);
« no previous file with comments | « third_party/WebKit/Source/web/RemoteFrameOwner.h ('k') | third_party/WebKit/Source/web/WebFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698