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

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

Issue 1371933005: MediaStream Recorder: add usage counter to WebRTC.webkitApiCount UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 5 years, 3 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_recorder_handler.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 1da9f7049c11557f3dadb120032634e782994906..74fd4010f6d8285cde0900dfdb945545ad83c127 100644
--- a/content/renderer/media/webrtc_uma_histograms.h
+++ b/content/renderer/media/webrtc_uma_histograms.h
@@ -30,12 +30,14 @@ void LogUserMediaRequestWithNoResult(MediaStreamRequestState state);
void LogUserMediaRequestResult(MediaStreamRequestResult result);
// Helper enum used for histogramming calls to WebRTC APIs from JavaScript.
+// The entries are linked to UMA values and cannot be changed.
enum JavaScriptAPIName {
WEBKIT_GET_USER_MEDIA,
WEBKIT_PEER_CONNECTION,
WEBKIT_DEPRECATED_PEER_CONNECTION,
WEBKIT_RTC_PEER_CONNECTION,
WEBKIT_GET_MEDIA_DEVICES,
+ WEBKIT_MEDIA_STREAM_RECORDER,
INVALID_NAME
};
« no previous file with comments | « content/renderer/media/media_recorder_handler.cc ('k') | content/renderer/media/webrtc_uma_histograms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698