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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 446553002: Add histogram WebRTC.UserMediaRequest.NoResultState to track user media requests with no result. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@b399835
Patch Set: Actually fix histogram.xml nit. Created 6 years, 4 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
« no previous file with comments | « content/renderer/media/webrtc_uma_histograms.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index da56c703c7e572207146d1c8d89bbecf018e274f..7c9edb4f82c8fcf76421570045b20660d3d1242d 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -35770,6 +35770,20 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="WebRTC.UserMediaRequest.NoResultState"
+ enum="MediaStreamRequestState">
+ <owner>andresp@chromium.org</owner>
+ <summary>
+ The state of a UserMediaRequest when it gets destroyed before having a
+ result.
+
+ Note: &quot;Explicitly Cancelled&quot; means
+ MediaStreamImpl::cancelUserMediaRequest was called and not necessarily that
+ the user cancelled. Those are likely tracked as UserMediaRequest with a
+ result of permission denied.
+ </summary>
+</histogram>
+
<histogram name="WebRTC.UserMediaRequest.Result"
enum="MediaStreamRequestResult">
<owner>andresp@chromium.org</owner>
@@ -43247,6 +43261,12 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="8" label="Track Start Failure"/>
</enum>
+<enum name="MediaStreamRequestState" type="int">
+ <int value="0" label="Explicitly Cancelled"/>
+ <int value="1" label="Stream Not Generated"/>
+ <int value="2" label="Pending Media Tracks"/>
+</enum>
+
<enum name="MetaTagTypeEnum" type="int">
<int value="0" label="No viewport tag"/>
<int value="1" label="Viewport meta with device width"/>
« no previous file with comments | « content/renderer/media/webrtc_uma_histograms.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698