mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-19 16:47:50 +01:00

and move usages to webrtc::RefCountInterface This CL also moves more stuff to webrtc:: and adds backwards compatible aliases for them. Bug: webrtc:42225969 Change-Id: Iefb8542cff793bd8aa46bef8f2f3c66a1e979d07 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/353720 Reviewed-by: Florent Castelli <orphis@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42446}
30 lines
938 B
C++
30 lines
938 B
C++
/*
|
|
* Copyright 2016 The WebRTC Project Authors. All rights reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#ifndef API_STATS_RTC_STATS_COLLECTOR_CALLBACK_H_
|
|
#define API_STATS_RTC_STATS_COLLECTOR_CALLBACK_H_
|
|
|
|
#include "api/scoped_refptr.h"
|
|
#include "api/stats/rtc_stats_report.h"
|
|
#include "rtc_base/ref_count.h"
|
|
|
|
namespace webrtc {
|
|
|
|
class RTCStatsCollectorCallback : public RefCountInterface {
|
|
public:
|
|
~RTCStatsCollectorCallback() override = default;
|
|
|
|
virtual void OnStatsDelivered(
|
|
const rtc::scoped_refptr<const RTCStatsReport>& report) = 0;
|
|
};
|
|
|
|
} // namespace webrtc
|
|
|
|
#endif // API_STATS_RTC_STATS_COLLECTOR_CALLBACK_H_
|