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

Unified Diff: public/web/WebSettings.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: public/web/WebSettings.h
diff --git a/public/web/WebSettings.h b/public/web/WebSettings.h
index 913026fcc3fae884024d86373272b5e7e697e710..d6bf45fa1d8655b91ed3dabef54589c56511712e 100644
--- a/public/web/WebSettings.h
+++ b/public/web/WebSettings.h
@@ -228,6 +228,8 @@ public:
virtual void setWebSecurityEnabled(bool) = 0;
virtual void setWideViewportQuirkEnabled(bool) = 0;
virtual void setXSSAuditorEnabled(bool) = 0;
+ virtual void setCSPViolationReportsUploadOptOut(bool) = 0;
+ virtual void setXSSViolationReportsUploadOptOut(bool) = 0;
protected:
~WebSettings() { }
« Source/core/frame/csp/ContentSecurityPolicy.cpp ('K') | « Source/web/WebSettingsImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698