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

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

Issue 2797813002: Replicate feature policy container policies. (Closed)
Patch Set: Cleanup, reponding to 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 482e2e3748373d9b0e2880eaa54f9e34c0adf00b..dee0270a9de5f41cc4cd04cd4b3efc82feada694 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -246,6 +246,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
@@ -737,8 +738,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