Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index becf04e8626b9ab2d5a2c0e5fe563a5a9e575a93..77b0a80f610c45337baa5218db766b3a38a3d4ee 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -19848,6 +19848,18 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="Extensions.ShouldAllowOpenURL.Failure.Scheme" |
+ enum="ShouldAllowOpenURLFailureScheme"> |
+ <owner>alexmos@chromium.org</owner> |
+ <summary> |
+ When the web-accessible resource check in |
+ ChromeContentBrowserClientExtensionsPart::ShouldAllowOpenURL fails, this |
+ records the scheme of the SiteInstance that initiated the blocked load. This |
+ check is performed on navigations that utilize the OpenURL path as well as |
+ on transfers. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Extensions.StartupDelay" units="ms"> |
<owner>asargent@chromium.org</owner> |
<summary>The time one extension delays network requests at startup.</summary> |
@@ -110179,6 +110191,30 @@ from previous Chrome versions. |
<int value="3" label="Resource is not web-accessible (most common)"/> |
</enum> |
+<enum name="ShouldAllowOpenURLFailureScheme" type="int"> |
+ <summary> |
+ Specifies the scheme of the SiteInstance initiating a resource load that was |
+ blocked by web-accessible resource checks in ShouldAllowOpenURL. |
+ </summary> |
+ <int value="0" label="unknown"/> |
+ <int value="1" label="empty"/> |
+ <int value="2" label="http"/> |
+ <int value="3" label="https"/> |
+ <int value="4" label="file"/> |
+ <int value="5" label="ftp"/> |
+ <int value="6" label="data"/> |
+ <int value="7" label="javascript"/> |
+ <int value="8" label="about"/> |
+ <int value="9" label="chrome"/> |
+ <int value="10" label="chrome-devtools"/> |
+ <int value="11" label="chrome-guest"/> |
+ <int value="12" label="view-source"/> |
+ <int value="13" label="chrome-search"/> |
+ <int value="14" label="chrome-extension"/> |
+ <int value="15" label="blob"/> |
+ <int value="16" label="filesystem"/> |
+</enum> |
+ |
<enum name="ShutdownReason" type="int"> |
<summary> |
The reason that the Chrome OS power manager shut down or rebooted the |