Reland "Use backticks not vertical bars to denote variables in comments for /pc"
Original change's description: > Revert "Use backticks not vertical bars to denote variables in comments for /pc" > > This reverts commit 37ee0f5e594dd772ec6d620b5e5ea8a751b684f0. > > Reason for revert: Revert in order to be able to revert https://webrtc-review.googlesource.com/c/src/+/225642 > > Original change's description: > > Use backticks not vertical bars to denote variables in comments for /pc > > > > Bug: webrtc:12338 > > Change-Id: I88cf10afa5fc810b95d2a585ab2e895dcc163b63 > > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/226953 > > Reviewed-by: Harald Alvestrand <hta@webrtc.org> > > Commit-Queue: Artem Titov <titovartem@webrtc.org> > > Cr-Commit-Position: refs/heads/master@{#34575} > > TBR=hta@webrtc.org,titovartem@webrtc.org,webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com > > Change-Id: I5eddd3a14e1f664bf831e5c294fbc4de5f6a88af > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: webrtc:12338 > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/227082 > Reviewed-by: Björn Terelius <terelius@webrtc.org> > Commit-Queue: Björn Terelius <terelius@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#34577} Bug: webrtc:12338 Change-Id: I96bd229b73613c162d11d75fa4f5934e1b4295c7 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/227087 Commit-Queue: Artem Titov <titovartem@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34611}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
c219a53c80
commit
880fa8169b
@ -55,7 +55,7 @@ using ::testing::Return;
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
// These are used by gtest code, such as if |EXPECT_EQ| fails.
|
||||
// These are used by gtest code, such as if `EXPECT_EQ` fails.
|
||||
void PrintTo(const RTCCertificateStats& stats, ::std::ostream* os) {
|
||||
*os << stats.ToJson();
|
||||
}
|
||||
@ -916,7 +916,7 @@ TEST_F(RTCStatsCollectorTest, MultipleCallbacks) {
|
||||
}
|
||||
|
||||
TEST_F(RTCStatsCollectorTest, CachedStatsReports) {
|
||||
// Caching should ensure |a| and |b| are the same report.
|
||||
// Caching should ensure `a` and `b` are the same report.
|
||||
rtc::scoped_refptr<const RTCStatsReport> a = stats_->GetStatsReport();
|
||||
rtc::scoped_refptr<const RTCStatsReport> b = stats_->GetStatsReport();
|
||||
EXPECT_EQ(a.get(), b.get());
|
||||
@ -942,8 +942,8 @@ TEST_F(RTCStatsCollectorTest, MultipleCallbacksWithInvalidatedCacheInBetween) {
|
||||
EXPECT_TRUE_WAIT(b, kGetStatsReportTimeoutMs);
|
||||
EXPECT_TRUE_WAIT(c, kGetStatsReportTimeoutMs);
|
||||
EXPECT_EQ(a.get(), b.get());
|
||||
// The act of doing |AdvanceTime| processes all messages. If this was not the
|
||||
// case we might not require |c| to be fresher than |b|.
|
||||
// The act of doing `AdvanceTime` processes all messages. If this was not the
|
||||
// case we might not require `c` to be fresher than `b`.
|
||||
EXPECT_NE(c.get(), b.get());
|
||||
}
|
||||
|
||||
@ -2807,7 +2807,7 @@ class RTCStatsCollectorTestWithParamKind
|
||||
}
|
||||
|
||||
// Adds a sender and channel of the appropriate kind, creating a sender info
|
||||
// with the report block's |source_ssrc| and report block data.
|
||||
// with the report block's `source_ssrc` and report block data.
|
||||
void AddSenderInfoAndMediaChannel(
|
||||
std::string transport_name,
|
||||
const std::vector<ReportBlockData>& report_block_datas,
|
||||
@ -2881,7 +2881,7 @@ TEST_P(RTCStatsCollectorTestWithParamKind,
|
||||
for (auto ssrc : ssrcs) {
|
||||
RTCPReportBlock report_block;
|
||||
// The remote-inbound-rtp SSRC and the outbound-rtp SSRC is the same as the
|
||||
// |source_ssrc|, "SSRC of the RTP packet sender".
|
||||
// `source_ssrc`, "SSRC of the RTP packet sender".
|
||||
report_block.source_ssrc = ssrc;
|
||||
report_block.packets_lost = 7;
|
||||
report_block.fraction_lost = kFractionLost;
|
||||
@ -2916,7 +2916,7 @@ TEST_P(RTCStatsCollectorTestWithParamKind,
|
||||
expected_remote_inbound_rtp.total_round_trip_time =
|
||||
kRoundTripTimeSample1Seconds + kRoundTripTimeSample2Seconds;
|
||||
expected_remote_inbound_rtp.round_trip_time_measurements = 2;
|
||||
// This test does not set up RTCCodecStats, so |codec_id| and |jitter| are
|
||||
// This test does not set up RTCCodecStats, so `codec_id` and `jitter` are
|
||||
// expected to be missing. These are tested separately.
|
||||
|
||||
ASSERT_TRUE(report->Get(expected_remote_inbound_rtp.id()));
|
||||
@ -2940,7 +2940,7 @@ TEST_P(RTCStatsCollectorTestWithParamKind,
|
||||
|
||||
RTCPReportBlock report_block;
|
||||
// The remote-inbound-rtp SSRC and the outbound-rtp SSRC is the same as the
|
||||
// |source_ssrc|, "SSRC of the RTP packet sender".
|
||||
// `source_ssrc`, "SSRC of the RTP packet sender".
|
||||
report_block.source_ssrc = 12;
|
||||
ReportBlockData report_block_data;
|
||||
report_block_data.SetReportBlock(report_block, kReportBlockTimestampUtcUs);
|
||||
@ -2972,7 +2972,7 @@ TEST_P(RTCStatsCollectorTestWithParamKind,
|
||||
|
||||
RTCPReportBlock report_block;
|
||||
// The remote-inbound-rtp SSRC and the outbound-rtp SSRC is the same as the
|
||||
// |source_ssrc|, "SSRC of the RTP packet sender".
|
||||
// `source_ssrc`, "SSRC of the RTP packet sender".
|
||||
report_block.source_ssrc = 12;
|
||||
report_block.jitter = 5000;
|
||||
ReportBlockData report_block_data;
|
||||
@ -3009,7 +3009,7 @@ TEST_P(RTCStatsCollectorTestWithParamKind,
|
||||
|
||||
RTCPReportBlock report_block;
|
||||
// The remote-inbound-rtp SSRC and the outbound-rtp SSRC is the same as the
|
||||
// |source_ssrc|, "SSRC of the RTP packet sender".
|
||||
// `source_ssrc`, "SSRC of the RTP packet sender".
|
||||
report_block.source_ssrc = 12;
|
||||
ReportBlockData report_block_data;
|
||||
report_block_data.SetReportBlock(report_block, kReportBlockTimestampUtcUs);
|
||||
|
||||
Reference in New Issue
Block a user