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

Side-by-side diff isn't available for this file because of its large size.
Issue 427713004: Add histogram WebRTC.UserMediaRequest.Events to allow to track getUserMedia failures and hangs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 0ef82fff9f2756cf671835d0477609ee582d3078..e215afc64b1d1c1dc4acf6a22140900f7e5c20e1 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -35607,6 +35607,13 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="WebRTC.UserMediaRequest.Event" enum="UserMediaRequestEvent">
+ <owner>andresp@chromium.org</owner>
+ <summary>
+ Counters for UserMediaRequestsEvents such as failure reasons.
+ </summary>
+</histogram>
+
<histogram name="WebRTC.webkitApiCount" enum="JavaScriptAPIName">
<owner>perkj@chromium.org</owner>
<summary>Counts number of calls to WebRTC APIs from JavaScript.</summary>
@@ -48787,6 +48794,21 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="0" label="WiFi Scan"/>
</enum>
+<enum name="UserMediaRequestEvent" type="int">
+ <int value="0" label="Created"/>
+ <int value="1" label="Cancelled"/>
+ <int value="2" label="No Response"/>
+ <int value="10" label="Result OK"/>
+ <int value="11" label="Permission Denied"/>
+ <int value="12" label="Permission Dismissed"/>
+ <int value="13" label="Invalid State"/>
+ <int value="14" label="No Hardware"/>
+ <int value="15" label="Invalid Security Origin"/>
+ <int value="16" label="Tab Capture Failure"/>
+ <int value="17" label="Capture Failure"/>
+ <int value="18" label="Track Start Failure"/>
+</enum>
+
<enum name="UserSelectableSyncType" type="int">
<int value="0" label="Bookmarks"/>
<int value="1" label="Preferences"/>

Powered by Google App Engine
This is Rietveld 408576698