Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Unified Diff: webrtc/api/rtcstatscollector.h

Issue 2514883002: Create //webrtc/api:libjingle_peerconnection_api + refactorings. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698