Index: webrtc/modules/rtp_rtcp/source/rtcp_packet/report_block.h |
diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/report_block.h b/webrtc/modules/rtp_rtcp/source/rtcp_packet/report_block.h |
index bdc3cbcd1f0e9333aee56e0a36ac2b0b9fed402c..ef99e172977b2d8f54023ea030b4602f074b7aa1 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/report_block.h |
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/report_block.h |
@@ -30,17 +30,17 @@ |
// Consumes ReportBlock::kLength bytes. |
void Create(uint8_t* buffer) const; |
- void SetMediaSsrc(uint32_t ssrc) { source_ssrc_ = ssrc; } |
- void SetFractionLost(uint8_t fraction_lost) { |
+ void To(uint32_t ssrc) { source_ssrc_ = ssrc; } |
+ void WithFractionLost(uint8_t fraction_lost) { |
fraction_lost_ = fraction_lost; |
} |
- bool SetCumulativeLost(uint32_t cumulative_lost); |
- void SetExtHighestSeqNum(uint32_t ext_highest_seq_num) { |
+ bool WithCumulativeLost(uint32_t cumulative_lost); |
+ void WithExtHighestSeqNum(uint32_t ext_highest_seq_num) { |
extended_high_seq_num_ = ext_highest_seq_num; |
} |
- void SetJitter(uint32_t jitter) { jitter_ = jitter; } |
- void SetLastSr(uint32_t last_sr) { last_sr_ = last_sr; } |
- void SetDelayLastSr(uint32_t delay_last_sr) { |
+ void WithJitter(uint32_t jitter) { jitter_ = jitter; } |
+ void WithLastSr(uint32_t last_sr) { last_sr_ = last_sr; } |
+ void WithDelayLastSr(uint32_t delay_last_sr) { |
delay_since_last_sr_ = delay_last_sr; |
} |