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

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 2375183002: Add metrics for paths in file scheme exceptions in content settings. (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:
Download patch
« no previous file with comments | « components/content_settings/core/common/content_settings_pattern_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 3abb3fc4842d404f5880fc8d22c018025272fd31..9cb19b44a9bdbbcd918480e0afe89d798a341ec5 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -6880,6 +6880,35 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="ContentSettings.ExceptionSchemeFile.HasPath"
+ enum="BooleanHasPath">
+ <owner>alexmos@chromium.org</owner>
+ <summary>
+ Records how often a content settings exception for the file: scheme has a
+ non-empty path. Recorded once per exception at browser start.
+ </summary>
+</histogram>
+
+<histogram name="ContentSettings.ExceptionSchemeFile.Type.WithoutPath"
+ enum="ContentType">
+ <owner>alexmos@chromium.org</owner>
+ <summary>
+ Count of how often a specific content type has a content settings exception
+ defined for a file: scheme with no path (i.e., wildcard path). Recorded once
+ per exception at browser start.
+ </summary>
+</histogram>
+
+<histogram name="ContentSettings.ExceptionSchemeFile.Type.WithPath"
+ enum="ContentType">
+ <owner>alexmos@chromium.org</owner>
+ <summary>
+ Count of how often a specific content type has a content settings exception
+ defined for a file: scheme with a valid, non-empty path. Recorded once per
+ exception at browser start.
+ </summary>
+</histogram>
+
<histogram name="ContentSettings.LastSettingParsed" enum="LastSettingParsed">
<obsolete>
Deprecated 2015-10-05 in Issue 433475. Histogram was used temorarily for
@@ -70591,6 +70620,11 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="1" label="Has distilled data"/>
</enum>
+<enum name="BooleanHasPath" type="int">
+ <int value="0" label="No path"/>
+ <int value="1" label="Has path"/>
+</enum>
+
<enum name="BooleanHasSeekPenalty" type="int">
<int value="0" label="Has no seek penalty (e.g. is flash memory)"/>
<int value="1" label="Has seek penalty (e.g. spinning disk)"/>
« no previous file with comments | « components/content_settings/core/common/content_settings_pattern_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698