Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index bfb4c9f8318b409301e8d416f3cbe24f677ed5d7..67b7a3ea1589b4184a298fa5ccfcc5658bd9b1e2 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -21230,6 +21230,116 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="Freedesktop.Notifications" enum="BooleanSupported"> |
+ <owner>thomasanderson@chromium.org</owner> |
+ <summary> |
+ Whether or not the session has a dbus object at |
+ /org/Freedesktop/Notifications with interface org.Freedesktop.Notifications. |
+ This indicates whether or not system notifications are supported. (Linux |
+ only) Logged on each start up. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Freedesktop.Notifications.Capabilities.ActionIcons" |
+ enum="BooleanSupported"> |
+ <owner>thomasanderson@chromium.org</owner> |
+ <summary> |
+ Whether the notification server has the action-icons capability. (Linux |
+ only) Logged when the proxy to /org/Freedesktop/Notifications is set up |
+ successfully. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Freedesktop.Notifications.Capabilities.Actions" |
+ enum="BooleanSupported"> |
+ <owner>thomasanderson@chromium.org</owner> |
+ <summary> |
+ Whether the notification server has the actions capability. (Linux only) |
+ Logged when the proxy to /org/Freedesktop/Notifications is set up |
+ successfully. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Freedesktop.Notifications.Capabilities.Body" |
+ enum="BooleanSupported"> |
+ <owner>thomasanderson@chromium.org</owner> |
+ <summary> |
+ Whether the notification server has the body capability. (Linux only) |
+ Logged when the proxy to /org/Freedesktop/Notifications is set up |
+ successfully. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Freedesktop.Notifications.Capabilities.BodyHyperlinks" |
+ enum="BooleanSupported"> |
+ <owner>thomasanderson@chromium.org</owner> |
+ <summary> |
+ Whether the notification server has the body-hyperlinks capability. (Linux |
+ only) Logged when the proxy to /org/Freedesktop/Notifications is set up |
+ successfully. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Freedesktop.Notifications.Capabilities.BodyImages" |
+ enum="BooleanSupported"> |
+ <owner>thomasanderson@chromium.org</owner> |
+ <summary> |
+ Whether the notification server has the body-images capability. (Linux |
+ only) Logged when the proxy to /org/Freedesktop/Notifications is set up |
+ successfully. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Freedesktop.Notifications.Capabilities.BodyMarkup" |
+ enum="BooleanSupported"> |
+ <owner>thomasanderson@chromium.org</owner> |
+ <summary> |
+ Whether the notification server has the body-markup capability. (Linux |
+ only) Logged when the proxy to /org/Freedesktop/Notifications is set up |
+ successfully. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Freedesktop.Notifications.Capabilities.IconMulti" |
+ enum="BooleanSupported"> |
+ <owner>thomasanderson@chromium.org</owner> |
+ <summary> |
+ Whether the notification server has the icon-multi capability. (Linux only) |
+ Logged when the proxy to /org/Freedesktop/Notifications is set up |
+ successfully. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Freedesktop.Notifications.Capabilities.IconStatic" |
+ enum="BooleanSupported"> |
+ <owner>thomasanderson@chromium.org</owner> |
+ <summary> |
+ Whether the notification server has the icon-static capability. (Linux |
+ only) Logged when the proxy to /org/Freedesktop/Notifications is set up |
+ successfully. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Freedesktop.Notifications.Capabilities.Persistence" |
+ enum="BooleanSupported"> |
+ <owner>thomasanderson@chromium.org</owner> |
Peter Beverloo
2017/05/02 14:15:24
nit: it would be nicer if we can define one <histo
Tom (Use chromium acct)
2017/05/02 18:49:41
Done.
|
+ <summary> |
+ Whether the notification server has the persistence capability. (Linux |
+ only) Logged when the proxy to /org/Freedesktop/Notifications is set up |
+ successfully. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Freedesktop.Notifications.Capabilities.Sound" |
+ enum="BooleanSupported"> |
+ <owner>thomasanderson@chromium.org</owner> |
+ <summary> |
+ Whether the notification server has the sound capability. (Linux only) |
+ Logged when the proxy to /org/Freedesktop/Notifications is set up |
+ successfully. |
+ </summary> |
+</histogram> |
+ |
<histogram name="GCM.AndroidGcmReceiverError" enum="GcmReceiverStatus"> |
<obsolete> |
Deprecated as of 01/2016. The error has been fixed by GCM. (crbug/580367) |
@@ -25601,6 +25711,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="Linux.NativeNotifications.UsingNativeNotifications" |
+ enum="BooleanNativeNotifications"> |
+ <owner>thomasanderson@chromium.org</owner> |
+ <summary> |
+ Indicates if Chrome is using system notifications or the Chrome notification |
+ center. (Linux only) Logged on each start up. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Linux.SandboxStatus" enum="LinuxSandboxStatus"> |
<owner>rickyz@chromium.org</owner> |
<summary> |
@@ -85556,6 +85675,11 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
<int value="1" label="Missing data in disk cache"/> |
</enum> |
+<enum name="BooleanNativeNotifications" type="int"> |
+ <int value="0" label="Using Chrome notifications"/> |
+ <int value="1" label="Using native notifications"/> |
+</enum> |
+ |
<enum name="BooleanNavPreloadFinishedFirst" type="int"> |
<int value="0" label="Worker preparation finished first"/> |
<int value="1" label="Navigation preload response arrived first"/> |