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}
This commit is contained in:
Artem Titov
2021-07-26 15:29:11 +02:00
committed by WebRTC LUCI CQ
parent 75ac5ab859
commit 37ee0f5e59
81 changed files with 535 additions and 535 deletions

View File

@ -99,7 +99,7 @@ class MediaContentDescription {
return absl::WrapUnique(CloneInternal());
}
// |protocol| is the expected media transport protocol, such as RTP/AVPF,
// `protocol` is the expected media transport protocol, such as RTP/AVPF,
// RTP/SAVPF or SCTP/DTLS.
virtual std::string protocol() const { return protocol_; }
virtual void set_protocol(const std::string& protocol) {
@ -443,11 +443,11 @@ class RTC_EXPORT ContentInfo {
ContentInfo(ContentInfo&& o) = default;
ContentInfo& operator=(ContentInfo&& o) = default;
// Alias for |name|.
// Alias for `name`.
std::string mid() const { return name; }
void set_mid(const std::string& mid) { this->name = mid; }
// Alias for |description|.
// Alias for `description`.
MediaContentDescription* media_description();
const MediaContentDescription* media_description() const;
@ -470,7 +470,7 @@ typedef std::vector<std::string> ContentNames;
// This class provides a mechanism to aggregate different media contents into a
// group. This group can also be shared with the peers in a pre-defined format.
// GroupInfo should be populated only with the |content_name| of the
// GroupInfo should be populated only with the `content_name` of the
// MediaDescription.
class ContentGroup {
public:
@ -580,7 +580,7 @@ class SessionDescription {
// Group mutators.
void AddGroup(const ContentGroup& group) { content_groups_.push_back(group); }
// Remove the first group with the same semantics specified by |name|.
// Remove the first group with the same semantics specified by `name`.
void RemoveGroupByName(const std::string& name);
// Global attributes.