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
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user