Index: webrtc/api/statscollector.h |
diff --git a/webrtc/api/statscollector.h b/webrtc/api/statscollector.h |
index adbac44b8047b2c67f1351b16292c656f39976b6..0e0389b51490681f8c08dba8a30a1f3877cd446c 100644 |
--- a/webrtc/api/statscollector.h |
+++ b/webrtc/api/statscollector.h |
@@ -78,6 +78,9 @@ class StatsCollector { |
const StatsReport::Id& transport_id, |
StatsReport::Direction direction); |
+ // A track is invalid if there is no report data for it. |
+ bool IsValidTrack(MediaStreamTrackInterface* track); |
+ |
// Method used by the unittest to force a update of stats since UpdateStats() |
// that occur less than kMinGatherStatsPeriod number of ms apart will be |
// ignored. |