Index: webrtc/api/peerconnectioninterface.h |
diff --git a/webrtc/api/peerconnectioninterface.h b/webrtc/api/peerconnectioninterface.h |
index f5d8c63b671921146e69a170eb5a7916f2340fb6..5f450f20667f95f9f425e2f8896bd140f890c335 100644 |
--- a/webrtc/api/peerconnectioninterface.h |
+++ b/webrtc/api/peerconnectioninterface.h |
@@ -60,6 +60,7 @@ |
#include "webrtc/api/dtmfsenderinterface.h" |
#include "webrtc/api/jsep.h" |
#include "webrtc/api/mediastreaminterface.h" |
+#include "webrtc/api/rtcstatscollector.h" |
#include "webrtc/api/rtpreceiverinterface.h" |
#include "webrtc/api/rtpsenderinterface.h" |
#include "webrtc/api/statstypes.h" |
@@ -440,6 +441,7 @@ class PeerConnectionInterface : public rtc::RefCountInterface { |
virtual bool GetStats(StatsObserver* observer, |
MediaStreamTrackInterface* track, |
StatsOutputLevel level) = 0; |
+ virtual void GetStats(RTCStatsCollectorCallback* callback) = 0; |
virtual rtc::scoped_refptr<DataChannelInterface> CreateDataChannel( |
const std::string& label, |