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

Unified Diff: third_party/WebKit/public/web/WebRemoteFrameClient.h

Issue 2190183002: Forward CSP violation reporting from RenderFrameProxy to RenderFrameImpl. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing how virtual method is declared. Created 4 years, 5 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/public/web/WebRemoteFrameClient.h
diff --git a/third_party/WebKit/public/web/WebRemoteFrameClient.h b/third_party/WebKit/public/web/WebRemoteFrameClient.h
index 6717d83f28879601f8bc8ba2e2712a07ae9dd98c..44ffb24305152637ac16df2dee9336b9fa327681 100644
--- a/third_party/WebKit/public/web/WebRemoteFrameClient.h
+++ b/third_party/WebKit/public/web/WebRemoteFrameClient.h
@@ -7,6 +7,7 @@
#include "public/platform/WebFocusType.h"
#include "public/platform/WebSecurityOrigin.h"
+#include "public/web/WebContentSecurityPolicy.h"
#include "public/web/WebDOMMessageEvent.h"
#include "public/web/WebFrame.h"
@@ -58,6 +59,10 @@ public:
// This frame was focused by another frame.
virtual void frameFocused() { }
+
+ // Forwards a Content Security Policy violation from a frame proxy to the
+ // real frame.
+ virtual void forwardContentSecurityPolicyViolation(const WebString& directiveText, const WebString& effectiveDirective, const WebString& consoleMessage, const WebURL& blockedURL, const WebVector<WebString>& reportEndpoints, const WebString& header, WebContentSecurityPolicyViolationType, bool followedRedirect, int contextLine) {}
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698