Use backticks not vertical bars to denote variables in comments for /examples
Bug: webrtc:12338
Change-Id: I753a476d1574d8dd50f1b6d4bfc2beb7f6f1f913
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/226947
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34562}
diff --git a/examples/peerconnection/server/data_socket.h b/examples/peerconnection/server/data_socket.h
index bafa5d3..57ad5b9 100644
--- a/examples/peerconnection/server/data_socket.h
+++ b/examples/peerconnection/server/data_socket.h
@@ -99,14 +99,14 @@
// Send a raw buffer of bytes.
bool Send(const std::string& data) const;
- // Send an HTTP response. The |status| should start with a valid HTTP
+ // Send an HTTP response. The `status` should start with a valid HTTP
// response code, followed by a string. E.g. "200 OK".
- // If |connection_close| is set to true, an extra "Connection: close" HTTP
- // header will be included. |content_type| is the mime content type, not
+ // If `connection_close` is set to true, an extra "Connection: close" HTTP
+ // header will be included. `content_type` is the mime content type, not
// including the "Content-Type: " string.
- // |extra_headers| should be either empty or a list of headers where each
+ // `extra_headers` should be either empty or a list of headers where each
// header terminates with "\r\n".
- // |data| is the body of the message. It's length will be specified via
+ // `data` is the body of the message. It's length will be specified via
// a "Content-Length" header.
bool Send(const std::string& status,
bool connection_close,