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

Unified Diff: content/renderer/media/webrtc_uma_histograms.h

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: Cleaner histogram description. 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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/media/media_stream_impl.cc ('k') | content/renderer/media/webrtc_uma_histograms.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webrtc_uma_histograms.h
diff --git a/content/renderer/media/webrtc_uma_histograms.h b/content/renderer/media/webrtc_uma_histograms.h
index 2dfb032db1bf7e875369b2c0886631580034b16b..aee1f348740983ad5f0ef3e71957c0baebf0f1f6 100644
--- a/content/renderer/media/webrtc_uma_histograms.h
+++ b/content/renderer/media/webrtc_uma_histograms.h
@@ -8,9 +8,12 @@
#include "base/memory/singleton.h"
#include "base/threading/non_thread_safe.h"
#include "content/common/content_export.h"
+#include "content/public/common/media_stream_request.h"
namespace content {
+void LogUserMediaRequestResult(MediaStreamRequestResult result);
+
// Helper enum used for histogramming calls to WebRTC APIs from JavaScript.
enum JavaScriptAPIName {
WEBKIT_GET_USER_MEDIA,
« no previous file with comments | « content/renderer/media/media_stream_impl.cc ('k') | content/renderer/media/webrtc_uma_histograms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698