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

Unified Diff: content/renderer/render_frame_impl.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: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 480f835eb7eeb5c0ddd403c2872188465956d4c3..389b8fb877a7edd1a974143689844a4d1e09bb10 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -153,6 +153,7 @@ class ScreenOrientationDispatcher;
class UserMediaClientImpl;
class WakeLockDispatcher;
struct CommonNavigationParams;
+struct ContentSecurityPolicyViolation;
struct CustomContextMenuContext;
struct FileChooserFileInfo;
struct FileChooserParams;
@@ -844,6 +845,8 @@ class CONTENT_EXPORT RenderFrameImpl
void OnSuppressFurtherDialogs();
void OnFileChooserResponse(
const std::vector<content::FileChooserFileInfo>& files);
+ void OnReportContentSecurityPolicyViolation(
+ const ContentSecurityPolicyViolation& violation);
#if defined(OS_ANDROID)
void OnActivateNearestFindResult(int request_id, float x, float y);
void OnGetNearestFindResult(int request_id, float x, float y);

Powered by Google App Engine
This is Rietveld 408576698