| Index: webrtc/api/rtcstatsreport.h
|
| diff --git a/webrtc/api/rtcstatsreport.h b/webrtc/api/rtcstatsreport.h
|
| index 42237eba725ce687ab7dc01300e848c0e6004a5b..b65fc5320522e45e0fac8d99484847a37d90fb72 100644
|
| --- a/webrtc/api/rtcstatsreport.h
|
| +++ b/webrtc/api/rtcstatsreport.h
|
| @@ -55,9 +55,12 @@ class RTCStatsReport : public rtc::RefCountInterface {
|
| RTCStatsReport(const RTCStatsReport& other) = delete;
|
|
|
| bool AddStats(std::unique_ptr<const RTCStats> stats);
|
| - const RTCStats* operator[](const std::string& id) const;
|
| + const RTCStats* Get(const std::string& id) const;
|
| size_t size() const { return stats_.size(); }
|
|
|
| + // Takes ownership of all the stats in |victim|, leaving it empty.
|
| + void TakeMembersFrom(rtc::scoped_refptr<RTCStatsReport> victim);
|
| +
|
| ConstIterator begin() const;
|
| ConstIterator end() const;
|
|
|
|
|