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

Unified Diff: content/browser/frame_host/render_frame_host_impl.h

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
Index: content/browser/frame_host/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index 7d13f014509fd56b4baee438c257864ab13d99d2..d4415a7ce0d084e2c8679a5b741ae9c1cb77947c 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -249,6 +249,7 @@ class CONTENT_EXPORT RenderFrameHostImpl
const std::string& frame_name,
const std::string& frame_unique_name,
blink::WebSandboxFlags sandbox_flags,
+ const ParsedFeaturePolicyHeader& container_policy,
const FrameOwnerProperties& frame_owner_properties);
// Called when this frame tries to open a new WebContents, e.g. via a script
@@ -735,8 +736,10 @@ class CONTENT_EXPORT RenderFrameHostImpl
void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy);
void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin);
- void OnDidChangeSandboxFlags(int32_t frame_routing_id,
- blink::WebSandboxFlags flags);
+ void OnDidChangeFramePolicy(
+ int32_t frame_routing_id,
+ blink::WebSandboxFlags flags,
+ const ParsedFeaturePolicyHeader& container_policy);
void OnDidChangeFrameOwnerProperties(int32_t frame_routing_id,
const FrameOwnerProperties& properties);
void OnUpdateTitle(const base::string16& title,

Powered by Google App Engine
This is Rietveld 408576698