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

Unified Diff: third_party/WebKit/Source/core/frame/UseCounter.h

Issue 2330353007: Add usage counters to XSSAuditor. (Closed)
Patch Set: Created 4 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: third_party/WebKit/Source/core/frame/UseCounter.h
diff --git a/third_party/WebKit/Source/core/frame/UseCounter.h b/third_party/WebKit/Source/core/frame/UseCounter.h
index 3c30e892782750686e143a269808570357aa67b9..fb02c4cd8f1cbcb269561e98f12db1a45687c2cb 100644
--- a/third_party/WebKit/Source/core/frame/UseCounter.h
+++ b/third_party/WebKit/Source/core/frame/UseCounter.h
@@ -1296,6 +1296,12 @@ public:
PresentationConnectionListConnectionAvailableEventListener = 1555,
WebAudioAutoplayCrossOriginIframe = 1556,
ScriptInvalidTypeOrLanguage = 1557,
+ XSSAuditorBlockedScript = 1558,
+ XSSAuditorBlockedScriptAndEntirePage = 1559,
Tom Sepez 2016/09/15 16:39:08 nit: maybe just call this XSSAuditorBlockedEntireP
+ XSSAuditorDisabled = 1560,
+ XSSAuditorEnabledFilter = 1561,
+ XSSAuditorEnabledBlock = 1562,
+
// Add new features immediately above this line. Don't change assigned
// numbers of any item, and don't reuse removed slots.
// Also, run update_use_counter_feature_enum.py in chromium/src/tools/metrics/histograms/

Powered by Google App Engine
This is Rietveld 408576698