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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.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/web/WebLocalFrameImpl.h
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.h b/third_party/WebKit/Source/web/WebLocalFrameImpl.h
index a74e51169e7c431aafcd20c3633c466af96f8b3d..3e558919ef3114d0364727057c3fb3ef634b15fa 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.h
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.h
@@ -243,6 +243,15 @@ public:
void saveImageAt(const WebPoint&) override;
void clearActiveFindMatch() override;
void usageCountChromeLoadTimes(const WebString& metric) override;
+ void reportContentSecurityPolicyViolation(
+ const WebString& directiveText,
+ const WebString& effectiveDirective,
+ const WebString& consoleMessage,
+ const WebURL& blockedURL,
+ const WebVector<WebString>& reportEndpoints,
+ const WebString& header,
+ WebContentSecurityPolicyViolationType,
+ bool followedRedirect) override;
// WebFrameImplBase methods:
void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name, const AtomicString& uniqueName) override;
« no previous file with comments | « third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698