Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index 8ea425ad63eca9eafcdaa0b46c865565faabe322..93907e89164828a7bccbd20502758c022c4ef7ae 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -10126,27 +10126,27 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_AutoDisable3" |
- enum="ExtensionPermission3"> |
+<histogram name="Extensions.Permissions_AutoDisable2" |
+ enum="ExtensionPermission2"> |
<owner>kalman@chromium.org</owner> |
<owner>rpaquay@chromium.org</owner> |
<summary> |
The permissions present in an extension when it is automatically disabled |
- due to a permission increase (e.g., after an extension upgrade). To find |
- places where this histogram may be emitted, look for calls to |
- ExtensionService::RecordPermissionMessagesHistogram with the argument |
- AutoDisable. For Sync users, this may be reported for each device, depending |
- on whether the Sync update or the extension auto-update happen first. |
+ due to a permission increase (e.g., after an extension upgrade). |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_AutoDisable2" |
- enum="ExtensionPermission2"> |
+<histogram name="Extensions.Permissions_AutoDisable3" |
+ enum="ExtensionPermission3"> |
<owner>kalman@chromium.org</owner> |
<owner>rpaquay@chromium.org</owner> |
<summary> |
The permissions present in an extension when it is automatically disabled |
- due to a permission increase (e.g., after an extension upgrade). |
+ due to a permission increase (e.g., after an extension upgrade). To find |
+ places where this histogram may be emitted, look for calls to |
+ ExtensionService::RecordPermissionMessagesHistogram with the argument |
+ AutoDisable. For Sync users, this may be reported for each device, depending |
+ on whether the Sync update or the extension auto-update happen first. |
</summary> |
</histogram> |
@@ -10164,22 +10164,22 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_Install3" enum="ExtensionPermission3"> |
+<histogram name="Extensions.Permissions_Install2" enum="ExtensionPermission2"> |
<owner>kalman@chromium.org</owner> |
<owner>rpaquay@chromium.org</owner> |
<summary> |
- The permissions present in an extension when it was installed. To find |
- places where this histogram may be emitted, look for calls to |
- ExtensionService::RecordPermissionMessagesHistogram with the argument |
- Install. For Sync users, this is reported for each device. |
+ The permissions present in an extension when it was installed. |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_Install2" enum="ExtensionPermission2"> |
+<histogram name="Extensions.Permissions_Install3" enum="ExtensionPermission3"> |
<owner>kalman@chromium.org</owner> |
<owner>rpaquay@chromium.org</owner> |
<summary> |
- The permissions present in an extension when it was installed. |
+ The permissions present in an extension when it was installed. To find |
+ places where this histogram may be emitted, look for calls to |
+ ExtensionService::RecordPermissionMessagesHistogram with the argument |
+ Install. For Sync users, this is reported for each device. |
</summary> |
</histogram> |
@@ -10199,6 +10199,16 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</summary> |
</histogram> |
+<histogram name="Extensions.Permissions_InstallAbort2" |
+ enum="ExtensionPermission2"> |
+ <owner>kalman@chromium.org</owner> |
+ <owner>rpaquay@chromium.org</owner> |
+ <summary> |
+ The permissions present in an extension when installation was aborted, not |
+ including installation errors and user cancels. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Extensions.Permissions_InstallAbort3" |
enum="ExtensionPermission3"> |
<owner>kalman@chromium.org</owner> |
@@ -10213,16 +10223,6 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_InstallAbort2" |
- enum="ExtensionPermission2"> |
- <owner>kalman@chromium.org</owner> |
- <owner>rpaquay@chromium.org</owner> |
- <summary> |
- The permissions present in an extension when installation was aborted, not |
- including installation errors and user cancels. |
- </summary> |
-</histogram> |
- |
<histogram name="Extensions.Permissions_InstallCancel" |
enum="ExtensionPermission"> |
<obsolete> |
@@ -10238,24 +10238,24 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_InstallCancel3" |
- enum="ExtensionPermission3"> |
+<histogram name="Extensions.Permissions_InstallCancel2" |
+ enum="ExtensionPermission2"> |
<owner>kalman@chromium.org</owner> |
<owner>rpaquay@chromium.org</owner> |
<summary> |
- The permissions present in an extension when installation was canceled. To |
- find places where this histogram may be emitted, look for calls to |
- ExtensionService::RecordPermissionMessagesHistogram with the argument |
- InstallCancel. |
+ The permissions present in an extension when installation was canceled. |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_InstallCancel2" |
- enum="ExtensionPermission2"> |
+<histogram name="Extensions.Permissions_InstallCancel3" |
+ enum="ExtensionPermission3"> |
<owner>kalman@chromium.org</owner> |
<owner>rpaquay@chromium.org</owner> |
<summary> |
- The permissions present in an extension when installation was canceled. |
+ The permissions present in an extension when installation was canceled. To |
+ find places where this histogram may be emitted, look for calls to |
+ ExtensionService::RecordPermissionMessagesHistogram with the argument |
+ InstallCancel. |
</summary> |
</histogram> |
@@ -10303,23 +10303,23 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_ReEnable3" enum="ExtensionPermission3"> |
+<histogram name="Extensions.Permissions_ReEnable2" enum="ExtensionPermission2"> |
<owner>kalman@chromium.org</owner> |
<owner>rpaquay@chromium.org</owner> |
<summary> |
The permissions present in an extension when it was re-enabled from a |
- confirmation prompt. To find places where this histogram may be emitted, |
- look for calls to ExtensionService::RecordPermissionMessagesHistogram with |
- the argument ReEnable. |
+ confirmation prompt. |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_ReEnable2" enum="ExtensionPermission2"> |
+<histogram name="Extensions.Permissions_ReEnable3" enum="ExtensionPermission3"> |
<owner>kalman@chromium.org</owner> |
<owner>rpaquay@chromium.org</owner> |
<summary> |
The permissions present in an extension when it was re-enabled from a |
- confirmation prompt. |
+ confirmation prompt. To find places where this histogram may be emitted, |
+ look for calls to ExtensionService::RecordPermissionMessagesHistogram with |
+ the argument ReEnable. |
</summary> |
</histogram> |
@@ -10339,27 +10339,27 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_ReEnableAbort3" |
- enum="ExtensionPermission3"> |
+<histogram name="Extensions.Permissions_ReEnableAbort2" |
+ enum="ExtensionPermission2"> |
<owner>kalman@chromium.org</owner> |
<owner>rpaquay@chromium.org</owner> |
<summary> |
The permissions present in an extension when the re-enable prompt was |
- aborted (e.g. because the parent window of the confirmation dialog went |
- away), not including installation errors and manual user cancels. To find |
- places where this histogram may be emitted, look for calls to |
- ExtensionService::RecordPermissionMessagesHistogram with the argument |
- ReEnableAbort. |
+ aborted, not including installation errors and manual user cancels. |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_ReEnableAbort2" |
- enum="ExtensionPermission2"> |
+<histogram name="Extensions.Permissions_ReEnableAbort3" |
+ enum="ExtensionPermission3"> |
<owner>kalman@chromium.org</owner> |
<owner>rpaquay@chromium.org</owner> |
<summary> |
The permissions present in an extension when the re-enable prompt was |
- aborted, not including installation errors and manual user cancels. |
+ aborted (e.g. because the parent window of the confirmation dialog went |
+ away), not including installation errors and manual user cancels. To find |
+ places where this histogram may be emitted, look for calls to |
+ ExtensionService::RecordPermissionMessagesHistogram with the argument |
+ ReEnableAbort. |
</summary> |
</histogram> |
@@ -10378,25 +10378,25 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_ReEnableCancel3" |
- enum="ExtensionPermission3"> |
+<histogram name="Extensions.Permissions_ReEnableCancel2" |
+ enum="ExtensionPermission2"> |
<owner>kalman@chromium.org</owner> |
<owner>rpaquay@chromium.org</owner> |
<summary> |
The permissions present in an extension when the re-enable was canceled from |
- the confirmation prompt. To find places where this histogram may be emitted, |
- look for calls to ExtensionService::RecordPermissionMessagesHistogram with |
- the argument ReEnableCancel. |
+ the confirmation prompt. |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_ReEnableCancel2" |
- enum="ExtensionPermission2"> |
+<histogram name="Extensions.Permissions_ReEnableCancel3" |
+ enum="ExtensionPermission3"> |
<owner>kalman@chromium.org</owner> |
<owner>rpaquay@chromium.org</owner> |
<summary> |
The permissions present in an extension when the re-enable was canceled from |
- the confirmation prompt. |
+ the confirmation prompt. To find places where this histogram may be emitted, |
+ look for calls to ExtensionService::RecordPermissionMessagesHistogram with |
+ the argument ReEnableCancel. |
</summary> |
</histogram> |
@@ -10414,22 +10414,22 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_Uninstall3" enum="ExtensionPermission3"> |
+<histogram name="Extensions.Permissions_Uninstall2" enum="ExtensionPermission2"> |
<owner>kalman@chromium.org</owner> |
<owner>rpaquay@chromium.org</owner> |
<summary> |
- The permissions present in an extension when it was uninstalled. To find |
- places where this histogram may be emitted, look for calls to |
- ExtensionService::RecordPermissionMessagesHistogram with the argument |
- Uninstall. For Sync users, this is reported for each device. |
+ The permissions present in an extension when it was uninstalled. |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_Uninstall2" enum="ExtensionPermission2"> |
+<histogram name="Extensions.Permissions_Uninstall3" enum="ExtensionPermission3"> |
<owner>kalman@chromium.org</owner> |
<owner>rpaquay@chromium.org</owner> |
<summary> |
- The permissions present in an extension when it was uninstalled. |
+ The permissions present in an extension when it was uninstalled. To find |
+ places where this histogram may be emitted, look for calls to |
+ ExtensionService::RecordPermissionMessagesHistogram with the argument |
+ Uninstall. For Sync users, this is reported for each device. |
</summary> |
</histogram> |
@@ -10449,26 +10449,26 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_WebStoreInstall3" |
- enum="ExtensionPermission3"> |
+<histogram name="Extensions.Permissions_WebStoreInstall2" |
+ enum="ExtensionPermission2"> |
<owner>kalman@chromium.org</owner> |
<owner>rpaquay@chromium.org</owner> |
<summary> |
The permissions present in an extension when it was installed through the |
- web store. To find places where this histogram may be emitted, look for |
- calls to ExtensionService::RecordPermissionMessagesHistogram with the |
- argument WebStoreInstall. Contrary to the more-general Permissions_Install3 |
- histogram, this one is NOT reported for each device. |
+ web store. |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_WebStoreInstall2" |
- enum="ExtensionPermission2"> |
+<histogram name="Extensions.Permissions_WebStoreInstall3" |
+ enum="ExtensionPermission3"> |
<owner>kalman@chromium.org</owner> |
<owner>rpaquay@chromium.org</owner> |
<summary> |
The permissions present in an extension when it was installed through the |
- web store. |
+ web store. To find places where this histogram may be emitted, look for |
+ calls to ExtensionService::RecordPermissionMessagesHistogram with the |
+ argument WebStoreInstall. Contrary to the more-general Permissions_Install3 |
+ histogram, this one is NOT reported for each device. |
</summary> |
</histogram> |
@@ -10489,27 +10489,27 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_WebStoreInstallAbort3" |
- enum="ExtensionPermission3"> |
+<histogram name="Extensions.Permissions_WebStoreInstallAbort2" |
+ enum="ExtensionPermission2"> |
<owner>kalman@chromium.org</owner> |
<owner>rpaquay@chromium.org</owner> |
<summary> |
The permissions present in an extension when installation from the web store |
- was aborted (e.g. because the parent window of the confirmation dialog went |
- away), not including installation errors and user cancels. To find places |
- where this histogram may be emitted, look for calls to |
- ExtensionService::RecordPermissionMessagesHistogram with the argument |
- WebStoreInstallAbort. |
+ was aborted, not including installation errors and user cancels. |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_WebStoreInstallAbort2" |
- enum="ExtensionPermission2"> |
+<histogram name="Extensions.Permissions_WebStoreInstallAbort3" |
+ enum="ExtensionPermission3"> |
<owner>kalman@chromium.org</owner> |
<owner>rpaquay@chromium.org</owner> |
<summary> |
The permissions present in an extension when installation from the web store |
- was aborted, not including installation errors and user cancels. |
+ was aborted (e.g. because the parent window of the confirmation dialog went |
+ away), not including installation errors and user cancels. To find places |
+ where this histogram may be emitted, look for calls to |
+ ExtensionService::RecordPermissionMessagesHistogram with the argument |
+ WebStoreInstallAbort. |
</summary> |
</histogram> |
@@ -10529,25 +10529,25 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_WebStoreInstallCancel3" |
- enum="ExtensionPermission3"> |
+<histogram name="Extensions.Permissions_WebStoreInstallCancel2" |
+ enum="ExtensionPermission2"> |
<owner>kalman@chromium.org</owner> |
<owner>rpaquay@chromium.org</owner> |
<summary> |
The permissions present in an extension when installation from the web store |
- was canceled. To find places where this histogram may be emitted, look for |
- calls to ExtensionService::RecordPermissionMessagesHistogram with the |
- argument WebStoreInstallCancel. |
+ was canceled. |
</summary> |
</histogram> |
-<histogram name="Extensions.Permissions_WebStoreInstallCancel2" |
- enum="ExtensionPermission2"> |
+<histogram name="Extensions.Permissions_WebStoreInstallCancel3" |
+ enum="ExtensionPermission3"> |
<owner>kalman@chromium.org</owner> |
<owner>rpaquay@chromium.org</owner> |
<summary> |
The permissions present in an extension when installation from the web store |
- was canceled. |
+ was canceled. To find places where this histogram may be emitted, look for |
+ calls to ExtensionService::RecordPermissionMessagesHistogram with the |
+ argument WebStoreInstallCancel. |
</summary> |
</histogram> |
@@ -15647,6 +15647,15 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</summary> |
</histogram> |
+<histogram name="Memory.PressureLevel" enum="MemoryPressureLevel"> |
+ <owner>chrisha@chromium.org</owner> |
+ <summary> |
+ The memory pressure level, which is recorded periodically (once per second). |
+ This is used to show the relative time that systems spend in each of the |
+ memory pressure states. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Memory.ProcessCount"> |
<owner>hajimehoshi@chromium.org</owner> |
<owner>kenjibaheux@google.com</owner> |
@@ -57438,6 +57447,12 @@ To add a new entry, add it with any value and run test to compute valid value. |
<int value="1" label="Http Live Stream Type"/> |
</enum> |
+<enum name="MemoryPressureLevel" type="int"> |
+ <int value="0" label="No memory pressure"/> |
+ <int value="1" label="Moderate memory pressure"/> |
+ <int value="2" label="Critical memory pressure"/> |
+</enum> |
+ |
<enum name="MetadataReadResult" type="int"> |
<int value="0" label="Success"/> |
<int value="1" label="Open failure"/> |