Index: webrtc/api/rtcstatsreport.h |
diff --git a/webrtc/api/rtcstatsreport.h b/webrtc/api/rtcstatsreport.h |
index 42237eba725ce687ab7dc01300e848c0e6004a5b..558bde93bf84e45cc97e3a854bb2f125b28df091 100644 |
--- a/webrtc/api/rtcstatsreport.h |
+++ b/webrtc/api/rtcstatsreport.h |
@@ -58,6 +58,9 @@ class RTCStatsReport : public rtc::RefCountInterface { |
const RTCStats* operator[](const std::string& id) const; |
size_t size() const { return stats_.size(); } |
+ // Takes ownership of all the stats in |victim|, leaving it empty. |
+ void Scavenge(rtc::scoped_refptr<RTCStatsReport> victim); |
hta-webrtc
2016/08/24 13:54:55
Suggest using less carnivorous language - what abo
hbos
2016/08/24 15:01:29
NomNomNom(victim) could have worked too. But OK, T
|
+ |
ConstIterator begin() const; |
ConstIterator end() const; |