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

Unified Diff: Source/web/WebSettingsImpl.h

Issue 591413003: Add a mechanism for users to opt-out of CSP & XSS violations reports. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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: Source/web/WebSettingsImpl.h
diff --git a/Source/web/WebSettingsImpl.h b/Source/web/WebSettingsImpl.h
index 7365da10e2225b5b064cea8984de8acccb429b12..01dbbde2bc2b9fd367dcc376e4b5676009b5c5fa 100644
--- a/Source/web/WebSettingsImpl.h
+++ b/Source/web/WebSettingsImpl.h
@@ -176,6 +176,9 @@ public:
virtual void setWebSecurityEnabled(bool) OVERRIDE;
virtual void setWideViewportQuirkEnabled(bool) OVERRIDE;
virtual void setXSSAuditorEnabled(bool) OVERRIDE;
+ virtual void setCSPViolationReportsUploadOptOut(bool) OVERRIDE;
+ virtual void setXSSViolationReportsUploadOptOut(bool) OVERRIDE;
+
bool showFPSCounter() const { return m_showFPSCounter; }
bool showPaintRects() const { return m_showPaintRects; }

Powered by Google App Engine
This is Rietveld 408576698