Chromium Code Reviews| Index: tools/metrics/histograms/histograms.xml |
| diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
| index 7abdedd66b1459fda7be7b22025ce4165ce7c553..3a226415e08ed7a4cf074043b537f0dd79696fd1 100644 |
| --- a/tools/metrics/histograms/histograms.xml |
| +++ b/tools/metrics/histograms/histograms.xml |
| @@ -14581,6 +14581,14 @@ other types of suffix sets. |
| <summary>The outcome of Entry::WriteData in the simple cache.</summary> |
| </histogram> |
| +<histogram name="SiteIsolation.AllResponses"> |
| + <summary> |
| + The count of all network responses received by a renderer. Each response is |
| + corresponding to one URL requested by a renderer. Incremented when the first |
| + network packet of a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| <histogram name="SiteIsolation.BrowsingInstanceCount"> |
| <summary> |
| The count of all current BrowsingInstances. Recorded once per UMA ping. |
| @@ -14653,6 +14661,317 @@ other types of suffix sets. |
| </summary> |
| </histogram> |
| +<histogram name="SiteIsolation.XSD.DataLength" units="byte"> |
| + <summary> |
| + The number of bytes in the first network packet for a response with headers |
| + that imply potential illegal cross-site access. Recorded when the first |
| + network packet of a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.HTML.Blocked"> |
| + <summary> |
| + The count of blocked cross-site document responses due to having HTML |
| + content type header and contents sniffed as HTML. Incremented when the first |
| + network packet of a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.HTML.Blocked.NonRenderableStatusCode"> |
| + <summary> |
| + The count of responses with a nonrenderable HTTP status code among blocked |
| + cross-site document responses due to their HTML contents. Incremented when |
| + the first network packet of a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.HTML.Blocked.RenderableStatusCode" |
| + enum="SiteIsolationResourceType"> |
| + <summary> |
| + The count of responses with a renderable HTTP status code sub-categorized by |
| + their requesting context type (e.g., image, script, etc.) among blocked |
| + cross-site document responses due to their HTML contents. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.HTML.NoSniffBlocked.NonRenderableStatusCode"> |
| + <summary> |
| + The count of responses with a nonrenderable HTTP status code among blocked |
| + cross-site document responses due to having HTML content type and nosniff |
| + headers. Incremented when the first network packet of a response of this |
| + type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.HTML.NoSniffBlocked.RenderableStatusCode" |
| + enum="SiteIsolationResourceType"> |
| + <summary> |
| + The count of responses with a renderable HTTP status code sub-categorized by |
| + their requesting context type (e.g., image, script, etc.), among blocked |
| + cross-site document responses due to having HTML content type and nosniff |
| + headers. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.HTML.NotBlocked"> |
| + <summary> |
| + The count of not blocked responses despite having an HTML content type |
| + header due to the failure of content sniffing. Incremented when the first |
| + network packet of a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.HTML.NotBlocked.MaybeJS"> |
| + <summary> |
| + The count of responses that may be parsed as JavaScript among not blocked |
| + responses. Incremented when the first network packet of a response of this |
| + type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.JSON.Blocked"> |
| + <summary> |
| + The count of blocked cross-site document responses due to having JSON |
| + content type header and contents sniffed as JSON. Incremented when the first |
| + network packet of a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.JSON.Blocked.NonRenderableStatusCode"> |
| + <summary> |
| + The count of responses with a nonrenderable HTTP status code among blocked |
| + cross-site document responses due to their JSON contents. Incremented when |
| + the first network packet of a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.JSON.Blocked.RenderableStatusCode" |
| + enum="SiteIsolationResourceType"> |
| + <summary> |
| + The count of responses with a renderable HTTP status code sub-categorized by |
| + their requesting context type (e.g., image, script, etc.), among blocked |
| + cross-site document responses due to their JSON contents. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.JSON.NoSniffBlocked.NonRenderableStatusCode"> |
| + <summary> |
| + The count of responses with a nonrenderable HTTP status code among blocked |
| + cross-site document responses due to having JSON content type and nosniff |
| + headers. Incremented when the first network packet of a response of this |
| + type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.JSON.NoSniffBlocked.RenderableStatusCode" |
| + enum="SiteIsolationResourceType"> |
| + <summary> |
| + The count of responses with a renderable HTTP status code sub-categorized by |
| + their requesting context type (e.g., image, script, etc.), among blocked |
| + cross-site document responses due to having JSON content type and nosniff |
| + headers. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.JSON.NotBlocked"> |
| + <summary> |
| + The count of not blocked responses despite having an JSON content type |
| + header due to the failure of content sniffing. Incremented when the first |
| + network packet of a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.JSON.NotBlocked.MaybeJS"> |
| + <summary> |
| + The count of responses that may be parsed as JavaScript among not blocked |
| + responses with a JSON content type header. Incremented when the first |
| + network packet of a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.MimeType" enum="SiteIsolationMimeType"> |
| + <summary> |
| + MIME type codes for content type header values of potentially cross-site |
| + document responses, excluding same-site or not http(s) urls. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.Plain.HTML.Blocked"> |
| + <summary> |
| + The count of blocked cross-site document responses due to having Plain |
| + content type header and contents sniffed as HTML. Incremented when the first |
| + network packet of a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.Plain.HTML.Blocked.NonRenderableStatusCode"> |
| + <summary> |
| + The count of responses with a nonrenderable HTTP status code among blocked |
| + responses due to their Plain.HTML contents. Incremented when the first |
| + network packet of a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.Plain.HTML.Blocked.RenderableStatusCode" |
| + enum="SiteIsolationResourceType"> |
| + <summary> |
| + The count of responses with a renderable HTTP status code sub-categorized by |
| + their requesting context type (e.g., image, script, etc.), among blocked |
| + cross-site document responses due to their Plain.HTML contents. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.Plain.JSON.Blocked"> |
| + <summary> |
| + The count of blocked cross-site document responses due to having Plain |
| + content type header and contents sniffed as JSON. Incremented when the first |
| + network packet of a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.Plain.JSON.Blocked.NonRenderableStatusCode"> |
| + <summary> |
| + The count of responses with a nonrenderable HTTP status code among blocked |
| + cross-site document responses due to their Plain.JSON contents. Incremented |
| + when the first network packet of a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.Plain.JSON.Blocked.RenderableStatusCode" |
| + enum="SiteIsolationResourceType"> |
| + <summary> |
| + The count of responses with a renderable HTTP status code sub-categorized by |
| + their requesting context type (e.g., image, script, etc.), among blocked |
| + cross-site document responses due to their Plain.JSON contents. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram |
| + name="SiteIsolation.XSD.Plain.NoSniffBlocked.NonRenderableStatusCode"> |
| + <summary> |
| + The count of responses with a nonrenderable HTTP status code among blocked |
| + cross-site document responses due to having Plain content type and nosniff |
| + headers. Incremented when the first network packet of a response of this |
| + type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.Plain.NoSniffBlocked.RenderableStatusCode" |
| + enum="SiteIsolationResourceType"> |
| + <summary> |
| + The count of responses with a renderable HTTP status code sub-categorized by |
| + their requesting context type (e.g., image, script, etc.), among blocked |
| + cross-site document responses due to having Plain content type and nosniff |
| + header. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.Plain.NotBlocked"> |
| + <summary> |
| + The count of not blocked responses despite having an Plain content type |
| + header due to the failure of content sniffing. Incremented when the first |
| + network packet of a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.Plain.NotBlocked.MaybeJS"> |
| + <summary> |
| + The count of responses that may be parsed as JavaScript among not blocked |
| + responses with a Plain content type header. Incremented when the first |
| + network packet of a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.Plain.XML.Blocked"> |
| + <summary> |
| + The count of blocked cross-site document responses due to having Plain |
| + content type header and contents sniffed as XML. Incremented when the first |
| + network packet of a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.Plain.XML.Blocked.NonRenderableStatusCode"> |
| + <summary> |
| + The count of responses with a nonrenderable HTTP status code among blocked |
| + cross-site document responses due to their Plain.XML contents. Incremented |
| + when the first network packet of a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.Plain.XML.Blocked.RenderableStatusCode" |
| + enum="SiteIsolationResourceType"> |
| + <summary> |
| + The count of responses with renderable HTTP status codes sub-categorized by |
| + their requesting context type (e.g., image, script, etc.), among blocked |
| + cross-site document responses due to their Plain.XML contents. Sampled with |
| + a resource type(0-15) when the first network packet of a response of this |
| + type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.XML.Blocked"> |
| + <summary> |
| + The count of blocked cross-site document responses due to having XML content |
| + type header and contents sniffed as XML. Incremented when the first network |
| + packet of a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.XML.Blocked.NonRenderableStatusCode"> |
| + <summary> |
| + The count of responses with nonrenderable HTTP status codes among blocked |
| + cross-site document responses due to their XML contents. Incremented when |
| + the first network packet of a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.XML.Blocked.RenderableStatusCode" |
| + enum="SiteIsolationResourceType"> |
| + <summary> |
| + The count of responses with renderable HTTP status codes sub-categorized by |
| + their requesting context type (e.g., image, script, etc.), among blocked |
| + cross-site document responses due to their XML contents. Sampled with a |
| + resource type(0-15) when the first network packet of a response of this type |
| + is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.XML.NoSniffBlocked.NonRenderableStatusCode"> |
| + <summary> |
| + The count of responses with a nonrenderable HTTP status code among blocked |
| + cross-site document responses due to having XML content type and nosniff |
| + headers. Incremented when the first network packet of a response of this |
| + type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.XML.NoSniffBlocked.RenderableStatusCode" |
| + enum="SiteIsolationResourceType"> |
| + <summary> |
| + The count of responses with a renderable HTTP status code sub-categorized by |
| + their requesting context type (e.g., image, script, etc.), among blocked |
| + cross-site document responses due to having XML content type and nosniff |
| + headers. Sampled with a resource type(0-15) when the first network packet of |
| + a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.XML.NotBlocked"> |
| + <summary> |
| + The count of not blocked responses despite having an XML content type header |
| + due to the failure of content sniffing. Incremented when the first network |
| + packet of a response of this type is received. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="SiteIsolation.XSD.XML.NotBlocked.MaybeJS"> |
| + <summary> |
| + The count of responses that may be parsed as JavaScript among not blocked |
| + responses with an XML content type. Incremented when the first network |
| + packet of a response of this type is received. |
|
Alexei Svitkine (slow)
2013/08/27 20:57:04
Sorry, given that you can't express this as a bool
dsjang
2013/08/27 21:16:52
Done.
|
| + </summary> |
| +</histogram> |
| + |
| <histogram name="Sqlite.AppCache.Error" enum="SqliteErrorCode"> |
| <summary>Error codes returned by sqlite for the appcache db.</summary> |
| </histogram> |
| @@ -22577,6 +22896,32 @@ other types of suffix sets. |
| <int value="3" label="Fresh index with cache updated since backend start"/> |
| </enum> |
| +<enum name="SiteIsolationMimeType" type="int"> |
| + <int value="0" label="HTML"/> |
| + <int value="1" label="XML"/> |
| + <int value="2" label="JSON"/> |
| + <int value="3" label="Plain"/> |
| + <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="LAST_TYPE"/> |
| +</enum> |
| + |
| <enum name="SocketStreamConnectionType" type="int"> |
| <int value="0" label="none"/> |
| <int value="1" label="all connections"/> |