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

Unified Diff: webrtc/api/peerconnectioninterface.h

Issue 2335553006: Moving webrtc/stats/ into webrtc/api/ to resolve a circular dependency (Closed)
Patch Set: Created 4 years, 3 months 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/peerconnectioninterface.h
diff --git a/webrtc/api/peerconnectioninterface.h b/webrtc/api/peerconnectioninterface.h
index f5d8c63b671921146e69a170eb5a7916f2340fb6..264716066e75560f8f81ea580cc51e1520195bce 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,8 @@ class PeerConnectionInterface : public rtc::RefCountInterface {
virtual bool GetStats(StatsObserver* observer,
MediaStreamTrackInterface* track,
StatsOutputLevel level) = 0;
+ virtual void GetRTCStats(
+ const rtc::scoped_refptr<RTCStatsCollectorCallback>& callback) = 0;
nisse-webrtc 2016/09/13 08:16:40 Ditto, no references to smart pointers.
virtual rtc::scoped_refptr<DataChannelInterface> CreateDataChannel(
const std::string& label,

Powered by Google App Engine
This is Rietveld 408576698