Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index 09608f0a3c8790371c085cebeec59e25ac939544..fdad6fd38c360066add7209a6826ecebccbaffe6 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -27932,6 +27932,41 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</summary> |
</histogram> |
+<histogram name="SBOffDomainInclusion.Detected" enum="ContentResourceType"> |
+ <owner>gab@chromium.org</owner> |
+ <summary> |
+ Logs the resource type of each resource request for which an off-domain |
+ inclusion was detected by the OffDomainInclusionDetector. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SBOffDomainInclusion.EmptyMainFrameURL" |
+ enum="ContentResourceType"> |
+ <owner>gab@chromium.org</owner> |
+ <summary> |
+ Logs the resource type of each resource request for which the main frame URL |
+ was unexpectedly empty in the OffDomainInclusionDetector. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SBOffDomainInclusion.InvalidMainFrameURL" |
+ enum="ContentResourceType"> |
+ <owner>gab@chromium.org</owner> |
+ <summary> |
+ Logs the resource type of each resource request for which the main frame URL |
+ was unexpectedly invalid (and not empty) in the OffDomainInclusionDetector. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SBOffDomainInclusion.RequestAnalyzed" |
+ enum="ContentResourceType"> |
+ <owner>gab@chromium.org</owner> |
+ <summary> |
+ Logs the resource type of each resource request analyzed by the |
+ OffDomainInclusionDetector. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Sdch3.Advertisement_Count"> |
<owner>rdsmith@chromium.org</owner> |
<summary> |
@@ -31484,7 +31519,7 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</histogram> |
<histogram name="SiteIsolation.XSD.HTML.Blocked.RenderableStatusCode" |
- enum="SiteIsolationResourceType"> |
+ enum="ContentResourceType"> |
<owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
<summary> |
The count of responses with a renderable HTTP status code sub-categorized by |
@@ -31506,7 +31541,7 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</histogram> |
<histogram name="SiteIsolation.XSD.HTML.NoSniffBlocked.RenderableStatusCode" |
- enum="SiteIsolationResourceType"> |
+ enum="ContentResourceType"> |
<owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
<summary> |
The count of responses with a renderable HTTP status code sub-categorized by |
@@ -31554,7 +31589,7 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</histogram> |
<histogram name="SiteIsolation.XSD.JSON.Blocked.RenderableStatusCode" |
- enum="SiteIsolationResourceType"> |
+ enum="ContentResourceType"> |
<owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
<summary> |
The count of responses with a renderable HTTP status code sub-categorized by |
@@ -31576,7 +31611,7 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</histogram> |
<histogram name="SiteIsolation.XSD.JSON.NoSniffBlocked.RenderableStatusCode" |
- enum="SiteIsolationResourceType"> |
+ enum="ContentResourceType"> |
<owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
<summary> |
The count of responses with a renderable HTTP status code sub-categorized by |
@@ -31634,7 +31669,7 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</histogram> |
<histogram name="SiteIsolation.XSD.Plain.HTML.Blocked.RenderableStatusCode" |
- enum="SiteIsolationResourceType"> |
+ enum="ContentResourceType"> |
<owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
<summary> |
The count of responses with a renderable HTTP status code sub-categorized by |
@@ -31665,7 +31700,7 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</histogram> |
<histogram name="SiteIsolation.XSD.Plain.JSON.Blocked.RenderableStatusCode" |
- enum="SiteIsolationResourceType"> |
+ enum="ContentResourceType"> |
<owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
<summary> |
The count of responses with a renderable HTTP status code sub-categorized by |
@@ -31688,7 +31723,7 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</histogram> |
<histogram name="SiteIsolation.XSD.Plain.NoSniffBlocked.RenderableStatusCode" |
- enum="SiteIsolationResourceType"> |
+ enum="ContentResourceType"> |
<owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
<summary> |
The count of responses with a renderable HTTP status code sub-categorized by |
@@ -31737,7 +31772,7 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</histogram> |
<histogram name="SiteIsolation.XSD.Plain.XML.Blocked.RenderableStatusCode" |
- enum="SiteIsolationResourceType"> |
+ enum="ContentResourceType"> |
<owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
<summary> |
The count of responses with renderable HTTP status codes sub-categorized by |
@@ -31767,7 +31802,7 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</histogram> |
<histogram name="SiteIsolation.XSD.XML.Blocked.RenderableStatusCode" |
- enum="SiteIsolationResourceType"> |
+ enum="ContentResourceType"> |
<owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
<summary> |
The count of responses with renderable HTTP status codes sub-categorized by |
@@ -31789,7 +31824,7 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</histogram> |
<histogram name="SiteIsolation.XSD.XML.NoSniffBlocked.RenderableStatusCode" |
- enum="SiteIsolationResourceType"> |
+ enum="ContentResourceType"> |
<owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
<summary> |
The count of responses with a renderable HTTP status code sub-categorized by |
@@ -38423,6 +38458,25 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
<int value="4" label="TEST_NOT_RUN"/> |
</enum> |
+<enum name="ContentResourceType" type="int"> |
+ <int value="0" label="MAIN_FRAME"/> |
+ <int value="1" label="SUB_FRAME"/> |
+ <int value="2" label="STYLESHEET"/> |
+ <int value="3" label="SCRIPT"/> |
+ <int value="4" label="IMAGE"/> |
+ <int value="5" label="FONT_RESOURCE"/> |
+ <int value="6" label="SUB_RESOURCE"/> |
+ <int value="7" label="OBJECT"/> |
+ <int value="8" label="MEDIA"/> |
+ <int value="9" label="WORKER"/> |
+ <int value="10" label="SHARED_WORKER"/> |
+ <int value="11" label="PREFETCH"/> |
+ <int value="12" label="FAVICON"/> |
+ <int value="13" label="XHR"/> |
+ <int value="14" label="PING"/> |
+ <int value="15" label="RESOURCE_TYPE_SERVICE_WORKER"/> |
+</enum> |
+ |
<enum name="ContentSetting" type="int"> |
<int value="1" label="ALLOW"/> |
<int value="2" label="BLOCK"/> |
@@ -49281,24 +49335,6 @@ To add a new entry, add it with any value and run test to compute valid value. |
<int value="4" label="Others"/> |
</enum> |
-<enum name="SiteIsolationResourceType" type="int"> |
- <int value="0" label="MAIN_FRAME"/> |
- <int value="1" label="SUB_FRAME"/> |
- <int value="2" label="STYLESHEET"/> |
- <int value="3" label="SCRIPT"/> |
- <int value="4" label="IMAGE"/> |
- <int value="5" label="FONT_RESOURCE"/> |
- <int value="6" label="SUB_RESOURCE"/> |
- <int value="7" label="OBJECT"/> |
- <int value="8" label="MEDIA"/> |
- <int value="9" label="WORKER"/> |
- <int value="10" label="SHARED_WORKER"/> |
- <int value="11" label="PREFETCH"/> |
- <int value="12" label="FAVICON"/> |
- <int value="13" label="XHR"/> |
- <int value="14" label="PING"/> |
-</enum> |
- |
<enum name="SocketStreamConnectionType" type="int"> |
<int value="0" label="None"/> |
<int value="1" label="All"/> |