| Index: webrtc/pc/rtcstatscollector.h
|
| diff --git a/webrtc/api/rtcstatscollector.h b/webrtc/pc/rtcstatscollector.h
|
| similarity index 94%
|
| rename from webrtc/api/rtcstatscollector.h
|
| rename to webrtc/pc/rtcstatscollector.h
|
| index c32d65f2460a83447946b70430b5bf1bc05b5074..8c2532e1b0e24590498dee28e6f7b12f4a7a3946 100644
|
| --- a/webrtc/api/rtcstatscollector.h
|
| +++ b/webrtc/pc/rtcstatscollector.h
|
| @@ -8,17 +8,16 @@
|
| * be found in the AUTHORS file in the root of the source tree.
|
| */
|
|
|
| -#ifndef WEBRTC_API_RTCSTATSCOLLECTOR_H_
|
| -#define WEBRTC_API_RTCSTATSCOLLECTOR_H_
|
| +#ifndef WEBRTC_PC_RTCSTATSCOLLECTOR_H_
|
| +#define WEBRTC_PC_RTCSTATSCOLLECTOR_H_
|
|
|
| #include <map>
|
| #include <memory>
|
| #include <set>
|
| #include <vector>
|
|
|
| -#include "webrtc/api/datachannel.h"
|
| -#include "webrtc/api/datachannelinterface.h"
|
| #include "webrtc/api/stats/rtcstats_objects.h"
|
| +#include "webrtc/api/stats/rtcstatscollectorcallback.h"
|
| #include "webrtc/api/stats/rtcstatsreport.h"
|
| #include "webrtc/base/asyncinvoker.h"
|
| #include "webrtc/base/optional.h"
|
| @@ -28,6 +27,7 @@
|
| #include "webrtc/base/sslidentity.h"
|
| #include "webrtc/base/timeutils.h"
|
| #include "webrtc/media/base/mediachannel.h"
|
| +#include "webrtc/pc/datachannel.h"
|
|
|
| namespace cricket {
|
| class Candidate;
|
| @@ -42,14 +42,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
|
| @@ -185,4 +177,4 @@ const char* DataStateToRTCDataChannelStateForTesting(
|
|
|
| } // namespace webrtc
|
|
|
| -#endif // WEBRTC_API_RTCSTATSCOLLECTOR_H_
|
| +#endif // WEBRTC_PC_RTCSTATSCOLLECTOR_H_
|
|
|