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

Unified Diff: third_party/WebKit/Source/core/dom/RemoteSecurityContext.h

Issue 2190183002: Forward CSP violation reporting from RenderFrameProxy to RenderFrameImpl. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sanitize report endpoints from IPC against actual CSP contents. Created 4 years, 4 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: third_party/WebKit/Source/core/dom/RemoteSecurityContext.h
diff --git a/third_party/WebKit/Source/core/dom/RemoteSecurityContext.h b/third_party/WebKit/Source/core/dom/RemoteSecurityContext.h
index 1552d1c38550d06e38459858509aabd2ab23ed0a..b3ed789ada6a0727ea238a27abb1be3b340f55d0 100644
--- a/third_party/WebKit/Source/core/dom/RemoteSecurityContext.h
+++ b/third_party/WebKit/Source/core/dom/RemoteSecurityContext.h
@@ -11,12 +11,14 @@
namespace blink {
+class RemoteFrameClient;
+
class CORE_EXPORT RemoteSecurityContext : public GarbageCollectedFinalized<RemoteSecurityContext>, public SecurityContext {
USING_GARBAGE_COLLECTED_MIXIN(RemoteSecurityContext);
public:
DECLARE_VIRTUAL_TRACE();
- static RemoteSecurityContext* create();
+ static RemoteSecurityContext* create(RemoteFrameClient*);
void setReplicatedOrigin(PassRefPtr<SecurityOrigin>);
void resetReplicatedContentSecurityPolicy();
@@ -24,7 +26,9 @@ public:
void didUpdateSecurityOrigin() override { }
private:
- RemoteSecurityContext();
+ explicit RemoteSecurityContext(RemoteFrameClient*);
+
+ Member<RemoteFrameClient> m_remoteFrameClient;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/dom/RemoteSecurityContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698