Index: webrtc/api/rtcstatscollector.h |
diff --git a/webrtc/api/rtcstatscollector.h b/webrtc/api/rtcstatscollector.h |
index 08bab803e25809288925d0a301670e55d325fae2..7aac620edaf4a0b4339716295e8d1463961448c3 100644 |
--- a/webrtc/api/rtcstatscollector.h |
+++ b/webrtc/api/rtcstatscollector.h |
@@ -17,7 +17,7 @@ |
#include <vector> |
#include "webrtc/api/datachannel.h" |
-#include "webrtc/api/datachannelinterface.h" |
+#include "webrtc/api/stats/rtcstatscollectorcallback.h" |
#include "webrtc/api/stats/rtcstats_objects.h" |
#include "webrtc/api/stats/rtcstatsreport.h" |
#include "webrtc/base/asyncinvoker.h" |
@@ -40,14 +40,6 @@ namespace webrtc { |
class PeerConnection; |
struct SessionStats; |
-class RTCStatsCollectorCallback : public virtual rtc::RefCountInterface { |
- public: |
- virtual ~RTCStatsCollectorCallback() {} |
- |
- virtual void OnStatsDelivered( |
- const rtc::scoped_refptr<const RTCStatsReport>& report) = 0; |
-}; |
- |
// All public methods of the collector are to be called on the signaling thread. |
// Stats are gathered on the signaling, worker and network threads |
// asynchronously. The callback is invoked on the signaling thread. Resulting |