Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index 7abdedd66b1459fda7be7b22025ce4165ce7c553..361940f4284d39c235a020bf8bef41646fa81335 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -14581,6 +14581,13 @@ 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. |
+ </summary> |
+</histogram> |
+ |
<histogram name="SiteIsolation.BrowsingInstanceCount"> |
<summary> |
The count of all current BrowsingInstances. Recorded once per UMA ping. |
@@ -14653,6 +14660,268 @@ other types of suffix sets. |
</summary> |
</histogram> |
+<histogram name="SiteIsolation.XSD.DataLength"> |
+ <summary> |
+ The number of bytes in the first network packet for a response with headers |
+ identified as illegal cross-site. |
Charlie Reis
2013/08/26 22:32:13
Do we know it's illegal yet? Isn't it "potentiall
dsjang
2013/08/26 22:56:58
Done.
|
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.HTML.Blocked"> |
+ <summary> |
+ The count of blocked responses due to having HTML content type header and |
Charlie Reis
2013/08/26 22:32:13
blocked cross-site document responses
(Please spe
dsjang
2013/08/26 22:56:58
Done.
|
+ contents sniffed as HTML. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.HTML.Blocked.NonRenderableStatusCode"> |
+ <summary> |
+ The count of responses with a nonrenderable HTTP status code among blocked |
+ responses due to their HTML contents. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.HTML.Blocked.RenderableStatusCode" |
+ enum="ResourceTypeCode"> |
+ <summary> |
+ The count of responses with a renderable HTTP status code among blocked |
+ 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 |
+ responses due to having HTML content type and nosniff headers. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.HTML.NoSniffBlocked.RenderableStatusCode" |
+ enum="ResourceTypeCode"> |
+ <summary> |
+ The count of responses with a renderable HTTP status code among blocked |
+ 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. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.HTML.NotBlocked.MaybeJS"> |
+ <summary> |
+ The count of responses that may be parsed as JavaScript among not blocked |
+ responses. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.JSON.Blocked"> |
+ <summary> |
+ The count of blocked responses due to having JSON content type header and |
+ contents sniffed as JSON. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.JSON.Blocked.NonRenderableStatusCode"> |
+ <summary> |
+ The count of responses with a nonrenderable HTTP status code among blocked |
+ responses due to their JSON contents. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.JSON.Blocked.RenderableStatusCode" |
+ enum="ResourceTypeCode"> |
+ <summary> |
+ The count of responses with a renderable HTTP status code among blocked |
+ 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 |
+ responses due to having JSON content type and nosniff headers. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.JSON.NoSniffBlocked.RenderableStatusCode" |
+ enum="ResourceTypeCode"> |
+ <summary> |
+ The count of responses with a renderable HTTP status code among blocked |
+ 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. |
+ </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. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.MimeType" enum="MimeTypeCode"> |
+ <summary> |
+ MIME type codes for content type header values of responses. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.HTML.Blocked"> |
+ <summary> |
+ The count of blocked responses due to having Plain content type header and |
+ contents sniffed as HTML. |
+ </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. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.HTML.Blocked.RenderableStatusCode" |
+ enum="ResourceTypeCode"> |
+ <summary> |
+ The count of responses with a renderable HTTP status code among blocked |
+ responses due to their Plain.HTML contents. |
Charlie Reis
2013/08/26 22:32:13
Please add something about the count being broken
dsjang
2013/08/26 22:56:58
Done.
|
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.JSON.Blocked"> |
+ <summary> |
+ The count of blocked responses due to having Plain content type header and |
+ contents sniffed as JSON. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.JSON.Blocked.NonRenderableStatusCode"> |
+ <summary> |
+ The count of responses with a nonrenderable HTTP status code among blocked |
+ responses due to their Plain.JSON contents. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.JSON.Blocked.RenderableStatusCode" |
+ enum="ResourceTypeCode"> |
+ <summary> |
+ The count of responses with a renderable HTTP status code among blocked |
+ 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 |
+ responses due to having Plain content type and nosniff headers. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.NoSniffBlocked.RenderableStatusCode" |
+ enum="ResourceTypeCode"> |
+ <summary> |
+ The count of responses with a renderable HTTP status code among blocked |
+ 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. |
+ </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. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.XML.Blocked"> |
+ <summary> |
+ The count of blocked responses due to having Plain content type header and |
+ contents sniffed as XML. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.XML.Blocked.NonRenderableStatusCode"> |
+ <summary> |
+ The count of responses with a nonrenderable HTTP status code among blocked |
+ responses due to their Plain.XML contents. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.Plain.XML.Blocked.RenderableStatusCode" |
+ enum="ResourceTypeCode"> |
+ <summary> |
+ The count of responses with renderable HTTP status codes among blocked |
+ responses due to their Plain.XML contents. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.XML.Blocked"> |
+ <summary> |
+ The count of blocked responses due to having XML content type header and |
+ contents sniffed as XML. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.XML.Blocked.NonRenderableStatusCode"> |
+ <summary> |
+ The count of responses with nonrenderable HTTP status codes among blocked |
+ responses due to their XML contents. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.XML.Blocked.RenderableStatusCode" |
+ enum="ResourceTypeCode"> |
+ <summary> |
+ The count of responses with renderable HTTP status codes among blocked |
+ responses due to their XML contents. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.XML.NoSniffBlocked.NonRenderableStatusCode"> |
+ <summary> |
+ The count of responses with a nonrenderable HTTP status code among blocked |
+ responses due to having XML content type and nosniff headers. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SiteIsolation.XSD.XML.NoSniffBlocked.RenderableStatusCode" |
+ enum="ResourceTypeCode"> |
+ <summary> |
+ The count of responses with a renderable HTTP status code among blocked |
+ responses due to having XML content type and nosniff headers. |
+ </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. |
+ </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. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Sqlite.AppCache.Error" enum="SqliteErrorCode"> |
<summary>Error codes returned by sqlite for the appcache db.</summary> |
</histogram> |
@@ -20749,6 +21018,14 @@ other types of suffix sets. |
<int value="3" label="kInvalidPlayerState"/> |
</enum> |
+<enum name="MimeTypeCode" type="int"> |
Charlie Reis
2013/08/26 22:32:13
It would help to convey what this is used for in t
dsjang
2013/08/26 22:56:58
Done.
|
+ <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="MobileSessionCallerApp" type="int"> |
<int value="0" label="Google Search"/> |
<int value="1" label="GMail"/> |
@@ -22134,6 +22411,24 @@ other types of suffix sets. |
</int> |
</enum> |
+<enum name="ResourceTypeCode" type="int"> |
Charlie Reis
2013/08/26 22:32:13
SiteIsolationResourceType
dsjang
2013/08/26 22:56:58
Done.
|
+ <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="SB2BloomFailure" type="int"> |
<int value="0" label="READ_OPEN"/> |
<int value="1" label="READ_VERSION"/> |