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

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: Remove no longer applicable TODO and early exit from reportViolation method. 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..737b28983d191ba7bc40212147e060b501792adc 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();
+ RemoteSecurityContext(RemoteFrameClient*);
alexmos 2016/08/09 18:01:20 nit: explicit
Łukasz Anforowicz 2016/08/09 22:23:20 Done.
+
+ Member<RemoteFrameClient> m_remoteFrameClient;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698