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

Unified Diff: content/renderer/render_frame_proxy.h

Issue 1957783002: Replicate Content-Security-Policy into remote frame proxies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/title.html/title1.html/ Created 4 years, 7 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/renderer/render_frame_proxy.h
diff --git a/content/renderer/render_frame_proxy.h b/content/renderer/render_frame_proxy.h
index 3ccbd9b3cb5e1ebc7027b2be811457584b86d314..9120f1aae2db9dde62ac33be0d15f8d7b6460089 100644
--- a/content/renderer/render_frame_proxy.h
+++ b/content/renderer/render_frame_proxy.h
@@ -34,6 +34,7 @@ class ChildFrameCompositingHelper;
class RenderFrameImpl;
class RenderViewImpl;
class RenderWidget;
+struct ContentSecurityPolicyHeader;
struct FrameReplicationState;
// When a page's frames are rendered by multiple processes, each renderer has a
@@ -165,6 +166,8 @@ class CONTENT_EXPORT RenderFrameProxy
void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags);
void OnDispatchLoad();
void OnDidUpdateName(const std::string& name, const std::string& unique_name);
+ void OnAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header);
+ void OnResetContentSecurityPolicy();
void OnEnforceStrictMixedContentChecking(bool should_enforce);
void OnDidUpdateOrigin(const url::Origin& origin,
bool is_potentially_trustworthy_unique_origin);

Powered by Google App Engine
This is Rietveld 408576698