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

Unified Diff: content/renderer/media/webrtc_uma_histograms_unittest.cc

Issue 344653003: Revert 274608 "Implement getMediaDevices." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2057/src/
Patch Set: Created 6 years, 6 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/webrtc_uma_histograms.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webrtc_uma_histograms_unittest.cc
===================================================================
--- content/renderer/media/webrtc_uma_histograms_unittest.cc (revision 278172)
+++ content/renderer/media/webrtc_uma_histograms_unittest.cc (working copy)
@@ -33,19 +33,6 @@
metrics.LogUsageOnlyOnce(WEBKIT_GET_USER_MEDIA);
}
-TEST(PerSessionWebRTCAPIMetrics, NoCallOngoingGetMediaDevices) {
- MockPerSessionWebRTCAPIMetrics metrics;
- EXPECT_CALL(metrics, LogUsage(_)).Times(1);
- metrics.LogUsageOnlyOnce(WEBKIT_GET_MEDIA_DEVICES);
-}
-
-TEST(PerSessionWebRTCAPIMetrics, CallOngoingGetMediaDevices) {
- MockPerSessionWebRTCAPIMetrics metrics;
- metrics.IncrementStreamCounter();
- EXPECT_CALL(metrics, LogUsage(WEBKIT_GET_MEDIA_DEVICES)).Times(1);
- metrics.LogUsageOnlyOnce(WEBKIT_GET_MEDIA_DEVICES);
-}
-
TEST(PerSessionWebRTCAPIMetrics, NoCallOngoingRTCPeerConnection) {
MockPerSessionWebRTCAPIMetrics metrics;
EXPECT_CALL(metrics, LogUsage(WEBKIT_RTC_PEER_CONNECTION));
« no previous file with comments | « content/renderer/media/webrtc_uma_histograms.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698