Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 926583002: Push API: UMA logs of whether SWs show notifications when required (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ifdef_brackets
Patch Set: Comment tweaks Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 701e8de29afd11d50ea865bd94babdb51580a509..7949d4532ad4f075be0daa8b108ba127a16c831b 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -28582,6 +28582,16 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="PushMessaging.UserVisibleStatus" enum="PushUserVisibleStatus">
+ <owner>johnme@google.com</owner>
+ <owner>mvanouwerkerk@google.com</owner>
+ <summary>
+ When a Service Worker receives a push message, this records whether it
+ showed user-visible UX (like a notification), or whether we showed a forced
+ notification on its behalf.
+ </summary>
+</histogram>
+
<histogram name="Quickoffice.csvFormattedCellCount">
<owner>dskelton@google.com</owner>
<summary>
@@ -55738,6 +55748,14 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="8" label="Successful - from cache"/>
</enum>
+<enum name="PushUserVisibleStatus" type="int">
+ <int value="0" label="Required and shown"/>
+ <int value="1" label="Not required but shown"/>
+ <int value="2" label="Not required and not shown"/>
+ <int value="3" label="Required but not shown - used grace"/>
+ <int value="4" label="Required but not shown - grace exceeded"/>
+</enum>
+
<enum name="QuicAddressMismatch" type="int">
<int value="0" label="Address mismatch: IPv4 IPv4"/>
<int value="1" label="Address mismatch: IPv6 IPv6"/>

Powered by Google App Engine
This is Rietveld 408576698