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

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

Issue 1957783002: Replicate Content-Security-Policy into remote frame proxies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/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 fda2cf18b882eb4d26944e846320c49da4d61f82..ba91aa83b66243d46b134c03edf5f6318ba178aa 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -90,6 +90,7 @@ class ResourceRequestBody;
class StreamHandle;
class TimeoutMonitor;
class WebBluetoothServiceImpl;
+struct ContentSecurityPolicyHeader;
struct ContextMenuParams;
struct GlobalRequestID;
struct Referrer;
@@ -629,6 +630,7 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost,
void OnDidAccessInitialDocument();
void OnDidChangeOpener(int32_t opener_routing_id);
void OnDidChangeName(const std::string& name, const std::string& unique_name);
+ void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header);
void OnEnforceStrictMixedContentChecking();
void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin);
void OnDidAssignPageId(int32_t page_id);

Powered by Google App Engine
This is Rietveld 408576698