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

Unified Diff: third_party/WebKit/Source/modules/mediastream/MediaStream.idl

Issue 2081193002: Count usage of MediaStream active and inactive events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/modules/mediastream/MediaStream.idl
diff --git a/third_party/WebKit/Source/modules/mediastream/MediaStream.idl b/third_party/WebKit/Source/modules/mediastream/MediaStream.idl
index f90d75f2e5823afc487dec981c92b0a6e4445dae..f59564f74f394242da3c7f21a1610660433f74b1 100644
--- a/third_party/WebKit/Source/modules/mediastream/MediaStream.idl
+++ b/third_party/WebKit/Source/modules/mediastream/MediaStream.idl
@@ -45,8 +45,8 @@
readonly attribute boolean active;
- attribute EventHandler onactive;
- attribute EventHandler oninactive;
+ [MeasureAs=MediaStreamOnActive] attribute EventHandler onactive;
foolip 2016/06/22 12:17:05 I think you shouldn't actually need to measure thi
+ [MeasureAs=MediaStreamOnInactive] attribute EventHandler oninactive;
// DEPRECATED
[DeprecateAs=MediaStreamOnEnded] attribute EventHandler onended;
« no previous file with comments | « third_party/WebKit/Source/modules/mediastream/MediaStream.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698