Address some violations of chromium-style.
BUG=webrtc:163 Review-Url: https://codereview.webrtc.org/2913793002 Cr-Commit-Position: refs/heads/master@{#18345}
This commit is contained in:
@ -384,32 +384,44 @@ class RtcpRttStats {
|
||||
// Null object version of RtpFeedback.
|
||||
class NullRtpFeedback : public RtpFeedback {
|
||||
public:
|
||||
virtual ~NullRtpFeedback() {}
|
||||
~NullRtpFeedback() override {}
|
||||
|
||||
int32_t OnInitializeDecoder(int8_t payload_type,
|
||||
const char payloadName[RTP_PAYLOAD_NAME_SIZE],
|
||||
int frequency,
|
||||
size_t channels,
|
||||
uint32_t rate) override {
|
||||
return 0;
|
||||
}
|
||||
uint32_t rate) override;
|
||||
|
||||
void OnIncomingSSRCChanged(uint32_t ssrc) override {}
|
||||
void OnIncomingCSRCChanged(uint32_t csrc, bool added) override {}
|
||||
};
|
||||
|
||||
inline int32_t NullRtpFeedback::OnInitializeDecoder(
|
||||
int8_t payload_type,
|
||||
const char payloadName[RTP_PAYLOAD_NAME_SIZE],
|
||||
int frequency,
|
||||
size_t channels,
|
||||
uint32_t rate) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Null object version of RtpData.
|
||||
class NullRtpData : public RtpData {
|
||||
public:
|
||||
virtual ~NullRtpData() {}
|
||||
~NullRtpData() override {}
|
||||
|
||||
int32_t OnReceivedPayloadData(const uint8_t* payload_data,
|
||||
size_t payload_size,
|
||||
const WebRtcRTPHeader* rtp_header) override {
|
||||
return 0;
|
||||
}
|
||||
const WebRtcRTPHeader* rtp_header) override;
|
||||
};
|
||||
|
||||
inline int32_t NullRtpData::OnReceivedPayloadData(
|
||||
const uint8_t* payload_data,
|
||||
size_t payload_size,
|
||||
const WebRtcRTPHeader* rtp_header) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Statistics about packet loss for a single directional connection. All values
|
||||
// are totals since the connection initiated.
|
||||
struct RtpPacketLossStats {
|
||||
|
||||
Reference in New Issue
Block a user