| Index: webrtc/api/peerconnection.h
|
| diff --git a/webrtc/api/peerconnection.h b/webrtc/api/peerconnection.h
|
| index 042e7f1bd43f539aa14cd7f4cc8b1c096ee9b1d7..3087160e4329aad293f4ce272d7b5b426f5b17ff 100644
|
| --- a/webrtc/api/peerconnection.h
|
| +++ b/webrtc/api/peerconnection.h
|
| @@ -18,6 +18,7 @@
|
|
|
| #include "webrtc/api/peerconnectionfactory.h"
|
| #include "webrtc/api/peerconnectioninterface.h"
|
| +#include "webrtc/api/rtcstatscollector.h"
|
| #include "webrtc/api/rtpreceiver.h"
|
| #include "webrtc/api/rtpsender.h"
|
| #include "webrtc/api/statscollector.h"
|
| @@ -102,6 +103,7 @@ class PeerConnection : public PeerConnectionInterface,
|
| bool GetStats(StatsObserver* observer,
|
| webrtc::MediaStreamTrackInterface* track,
|
| StatsOutputLevel level) override;
|
| + void GetStats(RTCStatsCollectorCallback* callback) override;
|
|
|
| SignalingState signaling_state() override;
|
|
|
| @@ -427,6 +429,7 @@ class PeerConnection : public PeerConnectionInterface,
|
|
|
| std::unique_ptr<WebRtcSession> session_;
|
| std::unique_ptr<StatsCollector> stats_;
|
| + rtc::scoped_refptr<RTCStatsCollector> stats_collector_;
|
| };
|
|
|
| } // namespace webrtc
|
|
|